|
@@ -9,7 +9,7 @@ export const getSvgPngToSize = (osmd: any) => {
|
|
|
var state = backend.ctx.state;
|
|
|
var width = backend.ctx.width / state.scale.x;
|
|
|
var height = backend.ctx.height / state.scale.y;
|
|
|
- const textX = width - 120,textY = height - 50;
|
|
|
+ const textX = width - 90,textY = height - 90;
|
|
|
const textDom = `<g><text x="${textX}" y="${textY}" stroke-width="3" fill="#000000" stroke="none" stroke-dasharray="none" font-family="Times New Roman" font-size="36px" font-weight="bold" font-style="none">${idx+1}/${len}</text></g>`
|
|
|
backend.ctx.svg.innerHTML = backend.ctx.svg.innerHTML + textDom;
|
|
|
var cont = new XMLSerializer().serializeToString(
|