From 918f6f75b7c4dca2b987e9b941555e2309bf0e19 Mon Sep 17 00:00:00 2001 From: Tim Mickel Date: Mon, 29 Feb 2016 12:33:39 -0500 Subject: [PATCH] Add pixel to connectionX to account for stroke --- core/block_render_svg_horizontal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/block_render_svg_horizontal.js b/core/block_render_svg_horizontal.js index d2a1a739c5..863b3de8c7 100644 --- a/core/block_render_svg_horizontal.js +++ b/core/block_render_svg_horizontal.js @@ -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);