From c4a368aeb900ab0bf392866787b149ffb6eb384c Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期三, 06 三月 2024 09:46:37 +0800 Subject: [PATCH] # --- zy-asrs-flow/src/pages/map/utils.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/zy-asrs-flow/src/pages/map/utils.js b/zy-asrs-flow/src/pages/map/utils.js index a72b30d..f97a5f9 100644 --- a/zy-asrs-flow/src/pages/map/utils.js +++ b/zy-asrs-flow/src/pages/map/utils.js @@ -69,7 +69,7 @@ // sprites be movable from select box // the scale was dynamic -export const spriteListBeMovable = (selectedSprites, scale, activateMapEvent) => { +export const spriteListBeMovable = (selectedSprites, scale, resetFn) => { if (selectedSprites && selectedSprites.length > 0) { let batchMove = false; let batchMoveStartPos = null; @@ -99,7 +99,7 @@ mapContainer.parent.off('mousemove'); mapContainer.parent.off('mouseup'); - activateMapEvent(MapEvent.SELECTION_BOX); + resetFn(); } const batchMoveStart = (event) => { -- Gitblit v1.9.1