editor: drag area improvement (wip)
This commit is contained in:
parent
35fab73b88
commit
0b97c1b37d
2 changed files with 26 additions and 5 deletions
|
|
@ -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')
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue