代码调整
This commit is contained in:
parent
2b6e1ca117
commit
3e6da71787
@ -390,7 +390,9 @@ export default class ELines extends Group {
|
||||
setCrossSpeedUpperLimit(speedLimit) {
|
||||
this.crossSpeedText && this.crossSpeedText.setStyle({text:speedLimit, textFill: 'red' });
|
||||
}
|
||||
|
||||
setCrossDefault() {
|
||||
this.crossSection && this.crossSection.setStyle({fill:this.model.style.Section.cross.crossSection.fillColor});
|
||||
}
|
||||
setZleve(lev) {
|
||||
this.section && this.section.attr('z', lev);
|
||||
}
|
||||
|
@ -99,6 +99,7 @@ export default class Section extends Group {
|
||||
});
|
||||
}
|
||||
this.line.setCrossSpeedUpperLimit('');
|
||||
this.line.setCrossDefault();
|
||||
}
|
||||
this.name && this.name.recover();
|
||||
this.speedLimit && this.speedLimit.hide();
|
||||
|
Loading…
Reference in New Issue
Block a user