列车调整
This commit is contained in:
parent
cc8c2cf8de
commit
f0db718c54
@ -569,9 +569,9 @@ export class Train extends JlGraphic {
|
||||
const portP = points[points.length - 1];
|
||||
if (portP.x === 0) {
|
||||
if (this.states.driftTo) {
|
||||
this.arrowIsLeft = 0 < portP.y;
|
||||
} else {
|
||||
this.arrowIsLeft = 0 > portP.y;
|
||||
} else {
|
||||
this.arrowIsLeft = 0 < portP.y;
|
||||
}
|
||||
} else {
|
||||
if (this.states.driftTo) {
|
||||
|
Loading…
Reference in New Issue
Block a user