This commit is contained in:
joylink_cuiweidong 2020-12-21 18:04:34 +08:00
commit 5d4422ca92

View File

@ -512,7 +512,11 @@ export default class Switch extends Group {
section.hide();
}
}
setAshShow() {
this.shapeModelA.setColor('#7F7F7F');
this.shapeModelB.setColor('#7F7F7F');
this.shapeModelC.setColor('#7F7F7F');
}
setState(model) {
if (!this.isShowShape) return;
this.recover();
@ -545,6 +549,7 @@ export default class Switch extends Group {
sectionB && sectionB.instance && sectionB.instance.setState(sectionB);
}
}
model.noStatus && this.setAshShow();
}
getBoundingRect() {