#
luxiaotao1123
2024-03-05 3fe41d6ba5fa06e626352ef837caff633f986fc8
#
1个文件已修改
4 ■■■■ 已修改文件
zy-asrs-flow/src/pages/map/player.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-asrs-flow/src/pages/map/player.js
@@ -99,18 +99,14 @@
        this.app.view.addEventListener('mouseup', (event) => {
            if (isSelecting) {
                this.mapContainer.children.forEach(child => {
                    if (Utils.isSpriteInSelectionBox(child, selectionBox)) {
                        this.selectedSprites.push(child);
                        Utils.markSprite(child);
                    }
                })
                isSelecting = false;
                selectionBox.clear();
                console.log('Selected Sprites:', this.selectedSprites);
            }
            this.app.view.removeEventListener('mousemove', handleMouseMove);