editor: drag area improvement (wip)

This commit is contained in:
bordun 2021-04-26 10:55:26 +02:00
parent 35fab73b88
commit 0b97c1b37d
2 changed files with 26 additions and 5 deletions

View file

@ -46,7 +46,7 @@ class UiSelectArea {
this.down = false
if (this.rectSize[0] > 0 && this.rectSize[1] > 0) {
this.callback(this.getElements())
this.callback(this.getElements(), e)
this.rect.classList.add('hidden')
}