调整车站点击

This commit is contained in:
zyy 2020-09-08 14:26:49 +08:00
parent 2d461041ca
commit f548a7495a

View File

@ -43,6 +43,7 @@ export default class Station extends Group {
fontWeight: style.Station.text.fontWeight,
fontSize: isNaN(Number(model.nameFont)) ? 20 : Number(model.nameFont),
fontFamily: style.fontFamily,
silent: !model.visible,
text: model.number ? model.number + model.name : model.name,
textAlign: 'middle',
textVerticalAlign: 'top',
@ -96,6 +97,7 @@ export default class Station extends Group {
fontSize: model.subheadFont || 18,
fontFamily: style.fontFamily,
text: model.subhead,
silent: !model.visible,
textAlign: 'middle',
textVerticalAlign: 'top',
textFill: model.subheadFontColor