From 73354ea13701cd46cc7843dddd166dd5ea54cadb Mon Sep 17 00:00:00 2001 From: SHAOJIAHAO <55341701@qq.com> Date: Tue, 2 Mar 2021 11:33:39 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=96=B0=E5=A2=9E]=E5=B9=B3=E9=9D=A2=E5=9B=BE?= =?UTF-8?q?=E7=B4=A0=E6=9D=90=E4=BD=BF=E7=94=A8=E9=BC=A0=E6=A0=87=E8=B0=83?= =?UTF-8?q?=E8=8A=82=E5=A4=A7=E5=B0=8F=E5=90=8E=E6=9B=B4=E6=96=B0=E5=B1=9E?= =?UTF-8?q?=E6=80=A7=E5=AE=BD=E9=AB=98=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../collection-tools-building/collection-tools.component.ts | 5 ++++- .../ui/collection-tools-plan/collection-tools.component.ts | 5 ++++- src/app/ui/collection-tools/collection-tools.component.ts | 5 ++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/src/app/ui/collection-tools-building/collection-tools.component.ts b/src/app/ui/collection-tools-building/collection-tools.component.ts index 8e0cb6b..1b6e0e6 100644 --- a/src/app/ui/collection-tools-building/collection-tools.component.ts +++ b/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 diff --git a/src/app/ui/collection-tools-plan/collection-tools.component.ts b/src/app/ui/collection-tools-plan/collection-tools.component.ts index 528ba81..19f6408 100644 --- a/src/app/ui/collection-tools-plan/collection-tools.component.ts +++ b/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 diff --git a/src/app/ui/collection-tools/collection-tools.component.ts b/src/app/ui/collection-tools/collection-tools.component.ts index b7d32ae..760e33e 100644 --- a/src/app/ui/collection-tools/collection-tools.component.ts +++ b/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