WIP: JD1A 底部操作栏左侧显隐控制部分
This commit is contained in:
parent
e300d62896
commit
36c5e3c7db
@ -459,9 +459,7 @@ class Signal extends Group {
|
||||
}
|
||||
|
||||
this.add(this.sigPost);
|
||||
this.add(this.sigName);
|
||||
|
||||
this.style.Signal.text.show && model.nameShow ? this.sigName.show() : this.sigName.hide();
|
||||
this.style.Signal.text.show && model.nameShow && this.add(this.sigName);
|
||||
this.add(this.sigRoute);
|
||||
this.add(this.sigDelay);
|
||||
this.add(this.remainTimeName);
|
||||
|
@ -223,10 +223,9 @@ export default class Switch extends Group {
|
||||
this.add(this.shapeModelB);
|
||||
this.add(this.shapeModelC);
|
||||
this.add(this.shapeBlockCover);
|
||||
this.add(this.name);
|
||||
style.Switch.text.show && model.nameShow && this.add(this.name);
|
||||
this.add(this.enabledName);
|
||||
|
||||
style.Switch.text.show && model.nameShow ? this.name.show() : this.name.hide();
|
||||
}
|
||||
|
||||
createLockRect() {
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user