mirror of
https://github.com/google/blockly.git
synced 2026-01-11 02:47:09 +01:00
Prevent incorrectly drawing vertical line for zero height spacer rows.
This commit is contained in:
@@ -151,7 +151,9 @@ Blockly.blockRendering.Highlighter.prototype.drawRightSideRow = function(row) {
|
||||
}
|
||||
if (this.RTL_) {
|
||||
this.steps_.push('H', rightEdge);
|
||||
this.steps_.push('V', row.yPos + row.height - this.highlightOffset_);
|
||||
if (row.height > this.highlightOffset_) {
|
||||
this.steps_.push('V', row.yPos + row.height - this.highlightOffset_);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user