zy-asrs-flow/src/pages/map/index.jsx | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
zy-asrs-flow/src/pages/map/player.js | ●●●●● 补丁 | 查看 | 原始文档 | 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);