mirror of
https://github.com/google/blockly.git
synced 2026-01-05 08:00:09 +01:00
fix: insertion markers firing move events (#7005)
This commit is contained in:
@@ -180,11 +180,11 @@ export class InsertionMarkerManager {
|
||||
*/
|
||||
applyConnections() {
|
||||
if (!this.activeCandidate) return;
|
||||
const {local, closest} = this.activeCandidate;
|
||||
local.connect(closest);
|
||||
eventUtils.disable();
|
||||
this.hidePreview();
|
||||
eventUtils.enable();
|
||||
const {local, closest} = this.activeCandidate;
|
||||
local.connect(closest);
|
||||
if (this.topBlock.rendered) {
|
||||
const inferiorConnection = local.isSuperior() ? closest : local;
|
||||
const rootBlock = this.topBlock.getRootBlock();
|
||||
|
||||
Reference in New Issue
Block a user