mirror of
https://github.com/google/blockly.git
synced 2026-01-09 01:50:11 +01:00
Position the zeros circle marker in the middle on top of the connection point. (#3739)
This commit is contained in:
@@ -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_();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user