|
|
|
@ -158,7 +158,7 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV
|
|
|
|
|
* RC版: 该版本已经相当成熟了,基本上不存在导致错误的BUG,与即将发行的正式版相差无几。 |
|
|
|
|
* Release版: 该版本意味“最终版本”,在前面版本的一系列测试版之后,终归会有一个正式版本,是最终交付用户使用的一个版本。该版本有时也称为标准版。一般情况下,Release不会以单词形式出现在软件封面上,取而代之的是符号®。 |
|
|
|
|
*/ |
|
|
|
|
public VERSION = '1.0.18.20210205_beta'; |
|
|
|
|
public VERSION = '1.0.19.20210206_beta'; |
|
|
|
|
/** |
|
|
|
|
* 数据初始化 |
|
|
|
|
*/ |
|
|
|
@ -974,7 +974,12 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV
|
|
|
|
|
/** |
|
|
|
|
* 刷新背景图 |
|
|
|
|
*/ |
|
|
|
|
public async refreshBackgroundImage(imageUrl: string = this.canvasData.selectStorey.imageUrl, imageAngle: number = this.canvasData.selectStorey.imageAngle): Promise<void> { |
|
|
|
|
public async refreshBackgroundImage( |
|
|
|
|
imageUrl: string = this.canvasData.selectStorey.imageUrl, |
|
|
|
|
imageAngle: number = this.canvasData.selectStorey.imageAngle, |
|
|
|
|
imageWidth: number = this.canvasData.selectStorey.imageWidth, |
|
|
|
|
imageHeight: number = this.canvasData.selectStorey.imageHeight, |
|
|
|
|
): Promise<void> { |
|
|
|
|
if (imageAngle === undefined || imageAngle === null) { |
|
|
|
|
imageAngle = 0; |
|
|
|
|
} |
|
|
|
@ -987,13 +992,11 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV
|
|
|
|
|
this.backgroundImage.x = this.backgroundImage.width / 2; |
|
|
|
|
this.backgroundImage.y = this.backgroundImage.height / 2; |
|
|
|
|
this.backgroundImage.angle = imageAngle; |
|
|
|
|
this.backgroundImage.width = imageWidth; |
|
|
|
|
this.backgroundImage.height = imageHeight; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.resetCamera2D(); |
|
|
|
|
// this.backgroundImage.children.forEach((item) => {
|
|
|
|
|
// if (item instanceof AxShape) {
|
|
|
|
|
// item.refresh();
|
|
|
|
|
// }
|
|
|
|
|
// });
|
|
|
|
|
} |
|
|
|
|
/** |
|
|
|
|
* 刷新 |
|
|
|
|