微调
This commit is contained in:
parent
241de95414
commit
bb9e8345bd
@ -33,7 +33,6 @@ export class StationDraw extends GraphicDrawAssistant<
|
||||
constructor(app: JlDrawApp, createData: () => IStationData) {
|
||||
super(app, new StationTemplate(), createData, Station.Type, '车站Station');
|
||||
this.container.addChild(this.codeGraph);
|
||||
this.codeGraph.setVectorFontSize(22);
|
||||
stationInteraction.init(app);
|
||||
}
|
||||
|
||||
@ -65,6 +64,7 @@ export class StationDraw extends GraphicDrawAssistant<
|
||||
codeGraph.anchor.set(0.5);
|
||||
codeGraph.style.fill = '0xf48815';
|
||||
codeGraph.position.set(p.x, p.y);
|
||||
codeGraph.setVectorFontSize(22);
|
||||
}
|
||||
prepareData(data: IStationData): boolean {
|
||||
const template = this.graphicTemplate;
|
||||
|
Loading…
Reference in New Issue
Block a user