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) }