#
vincentlu
2025-12-12 956a07a6a671c7b273ed7eb5075c4b4fec7fc54d
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 => {
@@ -471,4 +484,4 @@
    mapContainer.name = name;
    mapContainer.data = {};
    return mapContainer;
}
}