mirror of
https://github.com/scratchfoundation/scratch-blocks.git
synced 2025-08-28 22:10:31 -04:00
Update fix for insertion marker code
This commit is contained in:
parent
4b77d04bbd
commit
e43fefb796
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ Blockly.InsertionMarkerManager.prototype.applyConnections = function() {
|
|||
Blockly.Events.enable();
|
||||
// Connect two blocks together.
|
||||
this.localConnection_.connect(this.closestConnection_);
|
||||
if (this.rendered) {
|
||||
if (this.topBlock_.rendered) {
|
||||
// Trigger a connection animation.
|
||||
// Determine which connection is inferior (lower in the source stack).
|
||||
var inferiorConnection = this.localConnection_.isSuperior() ?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue