Large mouse events refactoring and cleanup

This commit is contained in:
barsdeveloper
2021-10-04 00:32:22 +02:00
parent dbff7a2c5f
commit fece3da438
17 changed files with 545 additions and 414 deletions

View File

@@ -1,4 +1,4 @@
import UEBlueprintDrag from "./UEBlueprintDrag.js"
import UDrag from "./input/UDrag"
export default class UEBlueprintDraggableObject extends HTMLElement {
@@ -9,7 +9,9 @@ export default class UEBlueprintDraggableObject extends HTMLElement {
}
connectedCallback() {
this.dragObject = new UEBlueprintDrag(this)
this.dragObject = new UDrag(this, null, {
looseTarget: true
})
}
disconnectedCallback() {