调整车站点击
This commit is contained in:
parent
2d461041ca
commit
f548a7495a
@ -43,6 +43,7 @@ export default class Station extends Group {
|
|||||||
fontWeight: style.Station.text.fontWeight,
|
fontWeight: style.Station.text.fontWeight,
|
||||||
fontSize: isNaN(Number(model.nameFont)) ? 20 : Number(model.nameFont),
|
fontSize: isNaN(Number(model.nameFont)) ? 20 : Number(model.nameFont),
|
||||||
fontFamily: style.fontFamily,
|
fontFamily: style.fontFamily,
|
||||||
|
silent: !model.visible,
|
||||||
text: model.number ? model.number + model.name : model.name,
|
text: model.number ? model.number + model.name : model.name,
|
||||||
textAlign: 'middle',
|
textAlign: 'middle',
|
||||||
textVerticalAlign: 'top',
|
textVerticalAlign: 'top',
|
||||||
@ -96,6 +97,7 @@ export default class Station extends Group {
|
|||||||
fontSize: model.subheadFont || 18,
|
fontSize: model.subheadFont || 18,
|
||||||
fontFamily: style.fontFamily,
|
fontFamily: style.fontFamily,
|
||||||
text: model.subhead,
|
text: model.subhead,
|
||||||
|
silent: !model.visible,
|
||||||
textAlign: 'middle',
|
textAlign: 'middle',
|
||||||
textVerticalAlign: 'top',
|
textVerticalAlign: 'top',
|
||||||
textFill: model.subheadFontColor
|
textFill: model.subheadFontColor
|
||||||
|
Loading…
Reference in New Issue
Block a user