1
0
mirror of https://github.com/MultiMote/niimblue synced 2026-01-19 19:37:11 +03:00
This commit is contained in:
MultiMote
2025-05-21 17:43:15 +03:00
parent 164c147d54
commit 8a771073b1

View File

@@ -134,7 +134,7 @@ export class CustomCanvas extends fabric.Canvas {
return { axis: "horizontal", points, segments };
} else if (this.labelProps.split === "vertical") {
const segmentWidth = bb.width / splitParts;
let lastX: number = bb.startY;
let lastX: number = bb.startX;
for (let i = 1; i < splitParts; i++) {
const x = bb.startX + segmentWidth * i - this.SEPARATOR_LINE_WIDTH / 2 + 1;