editor: don't use reserved event name for uidragresize resize

This commit is contained in:
bordun 2020-04-20 08:33:59 +02:00
parent 1f30407ca5
commit 2335328c4e
2 changed files with 2 additions and 2 deletions

View file

@ -89,7 +89,7 @@ class UiDragResize extends UiWidget {
this.container.classList.remove('dragging')
this.left = Math.max(0, this.left)
this.top = Math.max(0, this.top)
this.trigger(this.dragging.indexOf('left') > -1 ? 'move' : 'resize', this)
this.trigger(this.dragging.indexOf('left') > -1 ? 'move' : 'drag-resize', this)
this.dragging = null
}, {element: this.container})