mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-22 14:54:43 +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:
@@ -2,7 +2,7 @@ import Configuration from "../Configuration.js"
|
||||
|
||||
/** @typedef {import("../Blueprint.js").default} Blueprint */
|
||||
|
||||
/** @template {HTMLElement} T */
|
||||
/** @template {Element} T */
|
||||
export default class IInput {
|
||||
|
||||
/** @type {T} */
|
||||
@@ -17,6 +17,8 @@ export default class IInput {
|
||||
return this.#blueprint
|
||||
}
|
||||
|
||||
consumeEvent = true
|
||||
|
||||
/** @type {Object} */
|
||||
options
|
||||
|
||||
@@ -35,6 +37,7 @@ export default class IInput {
|
||||
options.unlistenOnTextEdit ??= false
|
||||
this.#target = target
|
||||
this.#blueprint = blueprint
|
||||
this.consumeEvent = options.consumeEvent
|
||||
this.options = options
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user