Skip to content

Commit 7693064

Browse files
committed
fix buggy branched reporter fields
1 parent 7b586a3 commit 7693064

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/block_render.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -903,7 +903,6 @@ Blockly.BlockSvg.prototype.render = function(opt_bubble) {
903903
*/
904904
Blockly.BlockSvg.prototype.renderFields_ = function(fieldList, cursorX,
905905
cursorY) {
906-
if (this.edgeShape_ && this.inputList.find(v => v.type == Blockly.NEXT_STATEMENT)) cursorX += this.edgeShapeWidth_ + Blockly.BlockSvg.CORNER_RADIUS * 2
907906
if (this.RTL) {
908907
cursorX = -cursorX;
909908
}
@@ -1538,6 +1537,7 @@ Blockly.BlockSvg.prototype.renderDrawRight_ = function(steps,
15381537
var connectionX, connectionY;
15391538
for (var y = 0, row; row = inputRows[y]; y++) {
15401539
cursorX = row.paddingStart;
1540+
if (this.edgeShape_ && this.inputList.find(v => v.type == Blockly.NEXT_STATEMENT)) cursorX += this.edgeShapeWidth_ + Blockly.BlockSvg.CORNER_RADIUS * 2
15411541
if (y == 0) {
15421542
cursorX += this.RTL ? -iconWidth : iconWidth;
15431543
}

0 commit comments

Comments
 (0)