From 0e2cb2b4f0732f2dd83ddaa386067e083af495b9 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期三, 09 十月 2024 14:14:53 +0800
Subject: [PATCH] #

---
 zy-acs-flow/src/map/player.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/zy-acs-flow/src/map/player.js b/zy-acs-flow/src/map/player.js
index 2dfc06d..4eb6bb7 100644
--- a/zy-acs-flow/src/map/player.js
+++ b/zy-acs-flow/src/map/player.js
@@ -32,8 +32,6 @@
 
     activateMapMultiSelect = (fn) => {
         const mapMultiSelectHandle = (event) => {
-            console.log(123);
-            
             if (event.button !== 0) {
                 return;
             }
@@ -102,6 +100,7 @@
                         fn(this.selectedSprites, () => {
                             // trigger at end of selectionBox when fn happen mouseup
                             this.selectedSprites = [];
+                            this.activateMapMultiSelect(fn);
                         });
                     }
 
@@ -111,6 +110,7 @@
             });
         }
 
+        this.mapContainer.parent.off('mousedown');
         this.mapContainer.parent.on('mousedown', mapMultiSelectHandle)
     }
 

--
Gitblit v1.9.1