mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-03-13 11:47:30 +08:00
Input refactoring (#12)
* Fix folder name typo * Smaller fixes * Shortcut rename to Shortcuts * Fix quoted attributes in UE 5.3 * remove KeyboardShortcutAction * Remove more trivial classes * Rename IKeyboardShortcut * Node delete shortcut
This commit is contained in:
@@ -129,12 +129,4 @@ export default class IElement extends LitElement {
|
||||
isSameGraph(element) {
|
||||
return this.blueprint && this.blueprint == element?.blueprint
|
||||
}
|
||||
|
||||
/**
|
||||
* @template {IInput} V
|
||||
* @param {new (...args: any[]) => V} type
|
||||
*/
|
||||
getInputObject(type) {
|
||||
return /** @type {V} */(this.template.inputObjects.find(object => object.constructor == type))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user