mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-19 04:55:57 +08:00
Blueprint focusable
This commit is contained in:
@@ -1,12 +1,10 @@
|
||||
import Context from "./Context"
|
||||
import Utility from "../Utility"
|
||||
|
||||
export default class Pointing {
|
||||
export default class Pointing extends Context {
|
||||
|
||||
constructor(target, blueprint, options) {
|
||||
/** @type {HTMLElement} */
|
||||
this.target = target
|
||||
/** @type {import("../Blueprint").Blueprint}" */
|
||||
this.blueprint = blueprint
|
||||
super(target, blueprint, options)
|
||||
this.movementSpace = this.blueprint?.getGridDOMElement() ?? document.documentElement
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user