|
|
|
@ -151,7 +151,7 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV
|
|
|
|
|
* RC版: 该版本已经相当成熟了,基本上不存在导致错误的BUG,与即将发行的正式版相差无几。 |
|
|
|
|
* Release版: 该版本意味“最终版本”,在前面版本的一系列测试版之后,终归会有一个正式版本,是最终交付用户使用的一个版本。该版本有时也称为标准版。一般情况下,Release不会以单词形式出现在软件封面上,取而代之的是符号®。 |
|
|
|
|
*/ |
|
|
|
|
public VERSION = '1.0.12.20210125_beta'; |
|
|
|
|
public VERSION = '1.0.13.20210126_beta'; |
|
|
|
|
/** |
|
|
|
|
* 数据初始化 |
|
|
|
|
*/ |
|
|
|
@ -159,13 +159,13 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV
|
|
|
|
|
PIXI.utils.skipHello(); |
|
|
|
|
this.sayHello(); |
|
|
|
|
this.eventManager.addGlobalEventListener('window', 'keydown', (event: any) => { |
|
|
|
|
event.stopPropagation() |
|
|
|
|
event.stopPropagation(); |
|
|
|
|
if (event.keyCode === 17) { |
|
|
|
|
this.isCtrlKeyClicked = true; |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
this.eventManager.addGlobalEventListener('window', 'keyup', (event: any) => { |
|
|
|
|
event.stopPropagation() |
|
|
|
|
event.stopPropagation(); |
|
|
|
|
if (event.keyCode === 17) { |
|
|
|
|
this.isCtrlKeyClicked = false; |
|
|
|
|
this.rectToolGraphics.visible = false; |
|
|
|
@ -181,7 +181,7 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV
|
|
|
|
|
* 删除选中的图标 |
|
|
|
|
*/ |
|
|
|
|
public deleteSelectedShape() { |
|
|
|
|
if (this.selection.all().size > 0) { |
|
|
|
|
if (this.selection.size() > 0) { |
|
|
|
|
this.selection.all().forEach(axShape => { |
|
|
|
|
if (this.allowEdit && this.canvasData.gameMode === axShape.assetData.GameMode) { |
|
|
|
|
// 删除图例对象
|
|
|
|
|