mirror of
https://github.com/Spythere/pojazdownik.git
synced 2026-05-04 03:58:11 +00:00
Poprawki generatora
This commit is contained in:
@@ -162,7 +162,7 @@ export default defineComponent({
|
|||||||
return acc;
|
return acc;
|
||||||
}, [] as { carWagon: ICarWagon; cargo?: ICargo }[]);
|
}, [] as { carWagon: ICarWagon; cargo?: ICargo }[]);
|
||||||
|
|
||||||
this.store.stockList.length = 0;
|
this.store.stockList.length = this.store.stockList[0]?.isLoco ? 1 : 0;
|
||||||
|
|
||||||
new Array(this.maxCarCount).fill(0).forEach(() => {
|
new Array(this.maxCarCount).fill(0).forEach(() => {
|
||||||
const { carWagon, cargo } = generatedChosenStockList[~~(Math.random() * generatedChosenStockList.length)];
|
const { carWagon, cargo } = generatedChosenStockList[~~(Math.random() * generatedChosenStockList.length)];
|
||||||
@@ -225,7 +225,7 @@ export default defineComponent({
|
|||||||
color: white;
|
color: white;
|
||||||
font-size: 1.35em;
|
font-size: 1.35em;
|
||||||
}
|
}
|
||||||
|
|
||||||
button {
|
button {
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
}
|
}
|
||||||
@@ -315,3 +315,4 @@ h2 {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user