Skip to content

Commit

Permalink
Add pixel to connectionX to account for stroke
Browse files Browse the repository at this point in the history
  • Loading branch information
tmickel committed Feb 29, 2016
1 parent c7f8f7e commit 918f6f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/block_render_svg_horizontal.js
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ Blockly.BlockSvg.prototype.renderDrawRight_ =
if (this.RTL) {
connectionX = connectionsXY.x + metrics.width;
} else {
connectionX = connectionsXY.x + metrics.width;
connectionX = connectionsXY.x + metrics.width + 1;
}
var connectionY = connectionsXY.y + metrics.height - Blockly.BlockSvg.CORNER_RADIUS * 2;
this.nextConnection.moveTo(connectionX, connectionY);
Expand Down

0 comments on commit 918f6f7

Please sign in to comment.