调整:代码修改

This commit is contained in:
fan 2019-08-02 17:41:12 +08:00
parent 7dec924ac4
commit e385704360
2 changed files with 2 additions and 2 deletions

View File

@ -172,7 +172,7 @@ class SkinStyle extends defaultStyle {
textVerticalAlign: 'top' // 字体垂直对齐
},
lamp: {
count: 2, // 控制模式灯个数
count: 4, // 控制模式灯个数
offset: {x: 0, y: 0}, // 控制模式灯偏移量
radiusR: 4, // 控制模式灯的半径
distance: 36, // 控制模式之间灯之间的距离

View File

@ -97,7 +97,7 @@ export default class StationControl extends Group {
this.add(this.centerControl);
if (this.style.StationControl.lamp.count == 3) {
this.add(this.emergencyControl);
} else if (this.style.StationControl.singleControlNum == 4) {
} else if (this.style.StationControl.lamp.count == 4) {
this.add(this.emergencyControl);
this.add(this.turnedAroundControl);
}