From 6faf59b2a3c35904a8486d4c0f92c7f85e9d8be5 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期三, 06 三月 2024 10:23:10 +0800
Subject: [PATCH] #

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

diff --git a/zy-asrs-flow/src/pages/map/player.js b/zy-asrs-flow/src/pages/map/player.js
index 6404073..4460c5b 100644
--- a/zy-asrs-flow/src/pages/map/player.js
+++ b/zy-asrs-flow/src/pages/map/player.js
@@ -26,8 +26,13 @@
 
     activateMapEvent = (leftEvent, rightEvent) => {
         if (this.mapEvent) {
-            this.mapContainer.parent.off('mousedown', this.mapEvent);
+            this.mapContainer.parent.off('mousedown');
             this.mapEvent = null;
+            if (this.selectedSprites && this.selectedSprites.length > 0) {
+                this.selectedSprites.forEach(child => {
+                    Utils.unMarkSprite(child);
+                })
+            }
         }
         this.mapEvent = (event) => {
             if (leftEvent && event.button === 0) {

--
Gitblit v1.9.1