列车箭头调整
This commit is contained in:
parent
5ad860befe
commit
1386980d32
@ -173,7 +173,7 @@ export class TrainHead extends Container {
|
|||||||
arrow.beginFill(aColor, 1);
|
arrow.beginFill(aColor, 1);
|
||||||
arrow.drawPolygon(arrowPoint);
|
arrow.drawPolygon(arrowPoint);
|
||||||
arrow.endFill();
|
arrow.endFill();
|
||||||
if (states.dynamicState.speed > 0) {
|
if (states.dynamicState.speed != 0) {
|
||||||
this.arrow.visible = true;
|
this.arrow.visible = true;
|
||||||
} else {
|
} else {
|
||||||
this.arrow.visible = false;
|
this.arrow.visible = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user