mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-15 09:44:49 +08:00
Fix script injection, small refactoring
This commit is contained in:
@@ -36,16 +36,6 @@ export default class GraphNode extends SelectableDraggable {
|
||||
connectedCallback() {
|
||||
const type = this.getAttribute("type")?.trim()
|
||||
super.connectedCallback()
|
||||
this.querySelectorAll(".ueb-node-input, .ueb-node-output").forEach(element => {
|
||||
this.dragLinkObjects.push(
|
||||
new DragLink(element, this.blueprint, {
|
||||
clickButton: 0,
|
||||
moveEverywhere: true,
|
||||
exitAnyButton: true,
|
||||
looseTarget: true
|
||||
})
|
||||
)
|
||||
})
|
||||
}
|
||||
|
||||
setLocation(value = [0, 0]) {
|
||||
|
||||
Reference in New Issue
Block a user