fix: Fix bug that could cause errant line when rendering. (#9333)

This commit is contained in:
Aaron Dodson
2025-08-28 10:06:52 -07:00
committed by GitHub
parent b2bbe965ba
commit fd0aaedb10

View File

@@ -122,9 +122,12 @@ export class Drawer {
} else if (Types.isSpacer(elem)) {
this.outlinePath_ += svgPaths.lineOnAxis('h', elem.width);
}
// No branch for a square corner, because it's a no-op.
}
// No branch for a square corner, because it's a no-op.
this.outlinePath_ += svgPaths.lineOnAxis('v', topRow.height);
this.outlinePath_ += svgPaths.lineOnAxis(
'v',
topRow.height - topRow.ascenderHeight,
);
}
/**