#
luxiaotao1123
2024-10-09 0e2cb2b4f0732f2dd83ddaa386067e083af495b9
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)
    }