mirror of
https://github.com/google/blockly.git
synced 2026-01-07 00:50:27 +01:00
fix: insertion markers firing move events (#7005)
(cherry picked from commit 35276e9468)
This commit is contained in:
@@ -179,11 +179,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;
|
||||
blockAnimations.connectionUiEffect(inferiorConnection.getSourceBlock());
|
||||
|
||||
Reference in New Issue
Block a user