mirror of
https://github.com/google/blockly.git
synced 2026-01-04 15:40:08 +01:00
fix: Fix bug that could cause errant line when rendering. (#9333)
This commit is contained in:
@@ -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,
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user