This commit is contained in:
ival 2019-07-16 18:44:40 +08:00
parent 82fbb5240f
commit 0f669bfcbd

View File

@ -63,7 +63,7 @@ class Signal extends Group {
this.sigName = this.sectionText = new ETextName({
_subType: 'Text',
zlevel: this.zlevel,
z: 2,
z: 1,
style: this.style,
x: this.model.position.x + this.model.namePosition.x,
y: this.model.position.y + posit * (this.style.Signal.signalDistance + this.style.Section.sectionWidth + this.style.Signal.signalR * 2 + this.model.namePosition.y),
@ -99,9 +99,9 @@ class Signal extends Group {
// 延迟解锁
this.sigDelay = new ETextName({
zlevel: this.zlevel,
z: 2,
z: 1,
style: this.style,
x: this.model.position.x - drict * this.style.Signal.signalLampStandardWidth,
x: this.model.position.x,
y: this.model.position.y + posit * (this.style.Signal.signalDistance + this.style.Section.sectionWidth + this.style.Signal.signalR * 2 + this.model.namePosition.y),
text: this.state.delayCount || '110',
textFont: 'bold ' + this.style.Signal.signalDelayTextFontSize + 'px ' + this.style.textFontFormat,
@ -124,8 +124,8 @@ class Signal extends Group {
this.add(this.sigPost);
this.lamps.forEach(lamp => { this.add(lamp); });
this.add(this.sigName);
this.add(this.sigAuto);
this.add(this.sigDrict);
// this.add(this.sigAuto);
// this.add(this.sigDrict);
this.add(this.sigDelay);
// this.add(this.sigButton);
}