哈尔滨线路问题 上行设置了越站后显示在轨道上看不清楚,需要调一下位置。
This commit is contained in:
parent
21115775fe
commit
c7569931ff
@ -208,7 +208,7 @@ class SkinCode extends defaultStyle {
|
||||
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 // 文字大小
|
||||
|
@ -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