列车调整

This commit is contained in:
joylink_fanyuhong 2024-05-13 10:32:13 +08:00
parent cc8c2cf8de
commit f0db718c54

View File

@ -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) {