信号机灯柱调整

This commit is contained in:
fan 2020-12-21 13:52:36 +08:00
parent b84b8cfd36
commit 01ed2bee99

View File

@ -79,6 +79,7 @@ class ESigPost extends Group {
setColor(color) { setColor(color) {
if (color) { if (color) {
this.ver && this.ver.setStyle({ stroke: color }); this.ver && this.ver.setStyle({ stroke: color });
this.ver && this.ver.setStyle({ fill: color });
this.hor && this.hor.setStyle({ stroke: color }); this.hor && this.hor.setStyle({ stroke: color });
} }
} }