#
luxiaotao1123
2024-03-21 bc18414bfc2df8e3a6e87b8040a33679889fbaa7
#
2个文件已修改
6 ■■■■■ 已修改文件
zy-asrs-flow/src/pages/map/index.jsx 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-asrs-flow/src/pages/map/player.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-asrs-flow/src/pages/map/index.jsx
@@ -146,7 +146,9 @@
                player.hideStarryBackground();
                setDeviceVisible(false);
                player.activateMapEvent(null);
                player.activateMapEvent(Utils.MapEvent.SELECTION_BOX, (selectedSprites, resetFn) => {
                    // resetFn();
                });
                mapContainer.children.forEach(child => {
                    Utils.viewFeature(child, setCurSPrite);
zy-asrs-flow/src/pages/map/player.js
@@ -84,7 +84,6 @@
        this.mapContainer.parent.on('mouseup', (event) => {
            if (isSelecting) {
                // sprite show style which be selected
                if (this.selectedSprites && this.selectedSprites.length > 0) {
                    this.selectedSprites.forEach(child => {
                        Utils.unMarkSprite(child);
@@ -92,6 +91,7 @@
                }
                this.selectedSprites = [];
                 // sprite show style which be selected
                this.mapContainer.children.forEach(child => {
                    if (Utils.isSpriteInSelectionBox(child, this.selectionBox)) {
                        this.selectedSprites.push(child);