We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2bbe96 commit fd0aaedCopy full SHA for fd0aaed
1 file changed
core/renderers/common/drawer.ts
@@ -122,9 +122,12 @@ export class Drawer {
122
} else if (Types.isSpacer(elem)) {
123
this.outlinePath_ += svgPaths.lineOnAxis('h', elem.width);
124
}
125
+ // No branch for a square corner, because it's a no-op.
126
- // No branch for a square corner, because it's a no-op.
127
- this.outlinePath_ += svgPaths.lineOnAxis('v', topRow.height);
+ this.outlinePath_ += svgPaths.lineOnAxis(
128
+ 'v',
129
+ topRow.height - topRow.ascenderHeight,
130
+ );
131
132
133
/**
0 commit comments