Zmieniono działanie losowania składu

This commit is contained in:
2021-11-17 21:40:37 +01:00
parent 0459bbb90c
commit 2d65c90e94
3 changed files with 146 additions and 60 deletions
+9
View File
@@ -140,6 +140,15 @@ export default defineComponent({
if (lastStock.count > 1) lastStock.count--;
else this.store.stockList.splice(-1);
}
// if (keyName == 'arrowdown') {
// const chosenVehicle = this.store.chosenCar || this.store.chosenLoco;
// if(!chosenVehicle) return;
// ev.preventDefault();
// }
});
this.onLocoPowerChange('loco-e');