mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-16 02:10:38 +08:00
Fix script injection, small refactoring
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import Drag from "../input/Drag"
|
||||
import DragMove from "../input/DragMove"
|
||||
import GraphElement from "./GraphElement"
|
||||
|
||||
export default class SelectableDraggable extends GraphElement {
|
||||
@@ -19,7 +19,7 @@ export default class SelectableDraggable extends GraphElement {
|
||||
|
||||
connectedCallback() {
|
||||
super.connectedCallback()
|
||||
this.dragObject = new Drag(this, this.blueprint, {
|
||||
this.dragObject = new DragMove(this, this.blueprint, {
|
||||
looseTarget: true
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user