调整屏蔽门绘图

This commit is contained in:
zyy 2020-07-23 13:16:45 +08:00
parent d313348a41
commit 11c021feb8

View File

@ -170,8 +170,8 @@ class ESafeDoor extends Group {
} }
hide() { hide() {
this.stand1 && this.stand1.hide(); this.stand1 && this.stand1.setStyle('fill', style.transparentColor);
this.stand2 && this.stand2.hide(); this.stand2 && this.stand2.setStyle('fill', style.transparentColor);
this.safeL && this.safeL.hide(); this.safeL && this.safeL.hide();
this.safeC && this.safeC.hide(); this.safeC && this.safeC.hide();
this.safeR && this.safeR.hide(); this.safeR && this.safeR.hide();
@ -179,8 +179,8 @@ class ESafeDoor extends Group {
this.safeB && this.safeB.hide(); this.safeB && this.safeB.hide();
} }
show() { show() {
this.stand1 && this.stand1.show(); this.stand1 && this.stand1.setStyle('fill', style.StationStand.safetyDoor.defaultColor);
this.stand2 && this.stand2.show(); this.stand2 && this.stand2.setStyle('fill', style.StationStand.safetyDoor.defaultColor);
this.safeL && this.safeL.show(); this.safeL && this.safeL.show();
this.safeC && this.safeC.show(); this.safeC && this.safeC.show();
this.safeR && this.safeR.show(); this.safeR && this.safeR.show();