Prefer inserting to wrapping for c-shape blocks

This commit is contained in:
Rachel Fenichel
2018-11-19 11:16:03 -08:00
parent 17823db4df
commit 53d8ac8b0b
4 changed files with 35 additions and 43 deletions

View File

@@ -703,9 +703,7 @@ Blockly.InsertionMarkerManager.prototype.connectMarker_ = function() {
imBlock.positionNewBlock(imBlock, imConn, closest);
// Connect() also renders the insertion marker.
console.log("connecting the insertion marker");
imConn.connect(closest);
console.log("done connecting the insertion marker");
this.markerConnection_ = imConn;
};