From 9f4a1cf5f91f85c49d3e609f19c9e833a08ca8ee Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期五, 22 三月 2024 08:29:48 +0800
Subject: [PATCH] #

---
 zy-asrs-flow/src/pages/map/player.js |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/zy-asrs-flow/src/pages/map/player.js b/zy-asrs-flow/src/pages/map/player.js
index 1fe0c56..d9650aa 100644
--- a/zy-asrs-flow/src/pages/map/player.js
+++ b/zy-asrs-flow/src/pages/map/player.js
@@ -84,7 +84,6 @@
 
         this.mapContainer.parent.on('mouseup', (event) => {
             if (isSelecting) {
-                // sprite show style which be selected
                 if (this.selectedSprites && this.selectedSprites.length > 0) {
                     this.selectedSprites.forEach(child => {
                         Utils.unMarkSprite(child);
@@ -92,6 +91,7 @@
                 }
                 this.selectedSprites = [];
 
+                // sprite show style which be selected
                 this.mapContainer.children.forEach(child => {
                     if (Utils.isSpriteInSelectionBox(child, this.selectionBox)) {
                         this.selectedSprites.push(child);
@@ -109,11 +109,6 @@
                         this.activateMapEvent(Utils.MapEvent.SELECTION_BOX, fn);
                     });
                 }
-
-                // sprites batch move
-                // Utils.spriteListBeMovable(this.selectedSprites, () => {
-                //     this.activateMapEvent(Utils.MapEvent.SELECTION_BOX, fn);
-                // });
 
             }
 

--
Gitblit v1.9.1