Insertion markers to take on the inputsinline property of the source block (#3719)

This commit is contained in:
Sam El-Husseini
2020-03-05 11:02:24 -08:00
committed by GitHub
parent 392cc75c4c
commit 458401e48b

View File

@@ -254,6 +254,7 @@ Blockly.InsertionMarkerManager.prototype.createMarkerBlock_ = function(sourceBlo
}
}
result.setCollapsed(sourceBlock.isCollapsed());
result.setInputsInline(sourceBlock.getInputsInline());
// Copy field values from the other block. These values may impact the
// rendered size of the insertion marker. Note that we do not care about
// child blocks here.