Browse Source

[新增]平面图素材使用鼠标调节大小后更新属性宽高值

zhuzhou
邵佳豪 4 years ago
parent
commit
73354ea137
  1. 5
      src/app/ui/collection-tools-building/collection-tools.component.ts
  2. 5
      src/app/ui/collection-tools-plan/collection-tools.component.ts
  3. 5
      src/app/ui/collection-tools/collection-tools.component.ts

5
src/app/ui/collection-tools-building/collection-tools.component.ts

@ -669,7 +669,10 @@ export class CollectionToolsBuildingComponent implements OnInit {
this.isShowProperty = false
}
}, this)
AxMessageSystem.addListener('imageResize', (eventName, args1) => {
this.assetWidth = args1.Width
this.assetHeight = args1.Height
}, this)
if(this.router.url.indexOf("keyUnit/viewunitinfo") != -1){ //查看模式
this.isEditPattern = false
this.isediticon = false

5
src/app/ui/collection-tools-plan/collection-tools.component.ts

@ -674,7 +674,10 @@ export class CollectionToolsPlanComponent implements OnInit {
this.isShowProperty = false
}
}, this)
AxMessageSystem.addListener('imageResize', (eventName, args1) => {
this.assetWidth = args1.Width
this.assetHeight = args1.Height
}, this)
if(this.router.url.indexOf("keyUnit/viewunitinfo") != -1){ //查看模式
this.isEditPattern = false
this.isediticon = false

5
src/app/ui/collection-tools/collection-tools.component.ts

@ -691,7 +691,10 @@ export class CollectionToolsComponent implements OnInit {
this.isShowProperty = false
}
}, this)
AxMessageSystem.addListener('imageResize', (eventName, args1) => {
this.assetWidth = args1.Width
this.assetHeight = args1.Height
}, this)
this.canvasData.gameMode = GameMode.Assignment
if (sessionStorage.getItem('editable') == "0") { //查看模式
this.isEditPattern = false

Loading…
Cancel
Save