列车箭头调整

This commit is contained in:
dong 2023-09-05 16:01:15 +08:00
parent 5ad860befe
commit 1386980d32

View File

@ -173,7 +173,7 @@ export class TrainHead extends Container {
arrow.beginFill(aColor, 1);
arrow.drawPolygon(arrowPoint);
arrow.endFill();
if (states.dynamicState.speed > 0) {
if (states.dynamicState.speed != 0) {
this.arrow.visible = true;
} else {
this.arrow.visible = false;