Refactoring

This commit is contained in:
barsdeveloper
2022-01-05 21:48:45 +01:00
parent 303cc5b71e
commit 7704850cf6
49 changed files with 1481 additions and 1469 deletions

View File

@@ -17,16 +17,12 @@ export default class SelectableDraggable extends GraphElement {
}
}
connectedCallback() {
super.connectedCallback()
this.dragObject = new DragMove(this, this.blueprint, {
looseTarget: true
})
}
disconnectedCallback() {
super.disconnectedCallback()
this.dragObject.unlistenDOMElement()
createInputObjects() {
return [
new DragMove(this, this.blueprint, {
looseTarget: true
}),
]
}
setLocation(value = [0, 0]) {