哈尔滨线路问题 上行设置了越站后显示在轨道上看不清楚,需要调一下位置。
This commit is contained in:
parent
21115775fe
commit
c7569931ff
@ -203,12 +203,12 @@ class SkinCode extends defaultStyle {
|
||||
buttonColor: 'darkgreen', // 信号灯按钮颜色
|
||||
buttonLightenColor: '#E4EF50' // 信号灯按钮闪烁颜色
|
||||
},
|
||||
transmission: { // 传输信号机
|
||||
transmission: { // 传输信号机
|
||||
fillColor: '#f00',
|
||||
fillColorVirtual: '#000080',
|
||||
fillColorVirtual: '#000080',
|
||||
sideLength: 20,
|
||||
textColor: '#fff',
|
||||
strokeColor: '#00FFFF',
|
||||
strokeColor: '#00FFFF'
|
||||
},
|
||||
lowButton:{
|
||||
display: false // 现地 信号机按钮
|
||||
@ -282,7 +282,7 @@ class SkinCode extends defaultStyle {
|
||||
z:1,
|
||||
position: 1, // 停跳方向
|
||||
text: 'S', // 停跳显示内容
|
||||
offset: { x: 20, y: 21 },
|
||||
offset: { x: 20, y: -21 },
|
||||
textColor: '#00FF00', // 停跳文字颜色
|
||||
fontWeight: 'bold', // 文字居中
|
||||
fontSize: 18 // 文字大小
|
||||
@ -829,7 +829,7 @@ class SkinCode extends defaultStyle {
|
||||
fontOffsetX: 45,
|
||||
fontOffsetY: 24
|
||||
};
|
||||
this[deviceType.IndicatorLight] = {};
|
||||
this[deviceType.IndicatorLight] = {};
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -16,7 +16,7 @@ class EJump extends Group {
|
||||
const jumpDirct = model.right ? -1 : 1;
|
||||
const jumpOffsetY = model.inside ? -1 : 1;
|
||||
const jumpX = model.position.x - jumpDirct * (deviceParam.offset.x - model.width / 2);
|
||||
const jumpY = model.position.y + jumpDirct * deviceParam.offset.y;
|
||||
const jumpY = model.position.y + jumpDirct * jumpOffsetY * deviceParam.offset.y;
|
||||
|
||||
if (deviceParam.special) {
|
||||
this.jump = new Text({
|
||||
|
Loading…
Reference in New Issue
Block a user