Browse Source

[新增] 设置单点图标角度

develop
徐振升 4 years ago
parent
commit
4a72460567
  1. 1
      src/app/working-area/working-area.component.ts

1
src/app/working-area/working-area.component.ts

@ -849,6 +849,7 @@ export class SinglePointIcon extends PIXI.Container {
this.x = this.assetData.Point.x;
this.y = this.assetData.Point.y;
this.name = this.assetData.Id;
this.angle = this.assetData.Angle;
const singlePointIcon = PIXI.Sprite.from(this.assetData.ImageUrl);
singlePointIcon.x = 0;
singlePointIcon.y = 0;

Loading…
Cancel
Save