|
|
|
@ -85,7 +85,7 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV
|
|
|
|
|
// 标记
|
|
|
|
|
this.canvasData.isChange = true; |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
this.emit('deleteIcon'); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
// // 测试代码
|
|
|
|
@ -305,6 +305,7 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV
|
|
|
|
|
enterPaintEndButton |
|
|
|
|
.on('mousedown', event => { |
|
|
|
|
event.stopPropagation(); |
|
|
|
|
this.emit('createIcon'); |
|
|
|
|
this.backgroundImage.removeChild(event.currentTarget); |
|
|
|
|
this.enterPaint(); |
|
|
|
|
}); |
|
|
|
@ -378,6 +379,7 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV
|
|
|
|
|
} else { |
|
|
|
|
this.canvasData.originaleveryStoreyData.data[singleIcon.assetData.Id] = singleIcon.assetData; |
|
|
|
|
} |
|
|
|
|
this.emit('createIcon'); |
|
|
|
|
this.canvasData.isChange = true; |
|
|
|
|
break; |
|
|
|
|
case PaintMode.lineIcon: |
|
|
|
|