Browse Source

[修正] 修正 正确取消选择素材事件

develop
陈鹏飞 4 years ago
parent
commit
7aca07eecb
  1. 1
      src/app/ui/collection-tools/collection-tools.component.ts

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

@ -424,6 +424,7 @@ export class CollectionToolsComponent implements OnInit {
let that = this let that = this
window.setTimeout(()=>{ window.setTimeout(()=>{
document.getElementById("functionalDomainContent").oncontextmenu = function (event) { document.getElementById("functionalDomainContent").oncontextmenu = function (event) {
that.canvas.cancelPaint()
that.selectImageIndex = -1 that.selectImageIndex = -1
event.preventDefault(); event.preventDefault();
}; };

Loading…
Cancel
Save