Position the zeros circle marker in the middle on top of the connection point. (#3739)

This commit is contained in:
Sam El-Husseini
2020-03-12 09:42:10 -07:00
committed by GitHub
parent 1d3a1655c6
commit 21c7626c16

View File

@@ -39,9 +39,7 @@ Blockly.zelos.MarkerSvg.prototype.showWithInput_ = function(curNode) {
var connection = curNode.getLocation();
var offsetInBlock = connection.getOffsetInBlock();
var y = offsetInBlock.y + this.constants_.CURSOR_RADIUS;
this.positionCircle_(offsetInBlock.x, y);
this.positionCircle_(offsetInBlock.x, offsetInBlock.y);
this.setParent_(block);
this.showCurrent_();
};