mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-27 10:44:43 +08:00
Large mouse events refactoring and cleanup
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user