editor: disable lasso on right click

This commit is contained in:
jean-emmanuel 2018-10-11 06:26:36 +02:00
parent 05a3708616
commit c28c419131

View file

@ -24,7 +24,7 @@ class SelectArea {
}
mousedown(e) {
if (!e.shiftKey) return
if (!e.shiftKey || event.button === 2) return
this.startX = this.curX = e.clientX
this.startY = this.curY = e.clientY
this.down = true