显示调整 again
This commit is contained in:
parent
9f361fd143
commit
619a049408
@ -150,6 +150,7 @@ export default class Section extends Group {
|
||||
this.derailer && this.derailer.hide();
|
||||
this.speedLimit && this.speedLimit.hide();
|
||||
this.speedLimitName && this.speedLimitName.hide();
|
||||
this.separator && this.separator.show();
|
||||
this.badShunt && this.badShunt.hide();
|
||||
|
||||
this.axle && this.axle.setStyle({
|
||||
|
@ -789,9 +789,11 @@ export default class Station extends Group {
|
||||
} else {
|
||||
this.eachChild(elem => { elem.hide(); });
|
||||
}
|
||||
this.model.kmPostShow ? this.mileageText.show() : this.mileageText.hide();
|
||||
if (this.mileageText) {
|
||||
this.model.kmPostShow ? this.mileageText.show() : this.mileageText.hide();
|
||||
}
|
||||
if (!this.model.visible) {
|
||||
this.mileageText.hide();
|
||||
this.mileageText && this.mileageText.hide();
|
||||
}
|
||||
}
|
||||
getAnchorPoint() {
|
||||
|
Loading…
Reference in New Issue
Block a user