| zy-acs-flow/src/map/MapPage.jsx | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| zy-acs-flow/src/map/player.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
zy-acs-flow/src/map/MapPage.jsx
@@ -137,6 +137,8 @@ setCurSprite(null); setBatchSprites([]); player.deactivateMapMultiSelect(); switch (mode) { case MAP_MODE.OBSERVER_MODE: player.activateMapMultiSelect((selectedSprites, restartFn) => { zy-acs-flow/src/map/player.js
@@ -117,6 +117,19 @@ this.mapContainer.parent.on('mousedown', mapMultiSelectHandle) } deactivateMapMultiSelect = () => { if (!this.mapContainer?.parent) { return; } this.mapContainer.parent.off('mousedown'); this.clearSelectedSprites(); if (this.selectionBox) { this.selectionBox.clear(); this.app?.stage.removeChild(this.selectionBox); this.selectionBox = null; } } clearSelectedSprites = () => { if (this.selectedSprites && this.selectedSprites.length > 0) { this.selectedSprites.forEach(child => {