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:
barsdeveloper
2023-08-11 02:48:50 +02:00
committed by GitHub
parent 2284789e6e
commit ed43ee3edd
29 changed files with 652 additions and 485 deletions

View File

@@ -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
}