mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-05-21 05:27:34 +08:00
WIP
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
// @ts-check
|
||||
|
||||
import Configuration from "../Configuration"
|
||||
import IElement from "./IElement"
|
||||
import MouseMoveNodes from "../input/mouse/MouseMoveNodes"
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// @ts-check
|
||||
|
||||
import Configuration from "../Configuration"
|
||||
import IElement from "./IElement"
|
||||
import LinkTemplate from "../template/LinkTemplate"
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// @ts-check
|
||||
|
||||
import Configuration from "../Configuration"
|
||||
import ISelectableDraggableElement from "./ISelectableDraggableElement"
|
||||
import NodeTemplate from "../template/NodeTemplate"
|
||||
import ObjectEntity from "../entity/ObjectEntity"
|
||||
|
||||
@@ -5,6 +5,7 @@ import MouseCreateLink from "../input/mouse/MouseCreateLink"
|
||||
import PinTemplate from "../template/PinTemplate"
|
||||
import ExecPinTemplate from "../template/ExecPinTemplate"
|
||||
import StringPinTemplate from "../template/StringPinTemplate"
|
||||
import KeyboardIgnoreSelectAll from "../input/keybaord/KeyboardIgnoreSelectAll"
|
||||
|
||||
/**
|
||||
* @typedef {import("../entity/GuidEntity").default} GuidEntity
|
||||
@@ -53,6 +54,9 @@ export default class PinElement extends IElement {
|
||||
moveEverywhere: true,
|
||||
looseTarget: true
|
||||
}),
|
||||
new KeyboardIgnoreSelectAll(this, this.blueprint, {
|
||||
consumeEvent: true
|
||||
})
|
||||
]
|
||||
}
|
||||
|
||||
@@ -88,8 +92,8 @@ export default class PinElement extends IElement {
|
||||
return this.entity.isOutput()
|
||||
}
|
||||
|
||||
isConnected() {
|
||||
return this.entity.isConnected()
|
||||
isLinked() {
|
||||
return this.entity.isLinked()
|
||||
}
|
||||
|
||||
getType() {
|
||||
|
||||
Reference in New Issue
Block a user