mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-27 18:54:44 +08:00
Various fixes
This commit is contained in:
@@ -21,9 +21,18 @@ export default class WindowTemplate extends IDraggableTemplate {
|
||||
draggableElement: this.getDraggableElement(element),
|
||||
looseTarget: true,
|
||||
stepSize: 1,
|
||||
movementSpace: element.blueprint,
|
||||
})
|
||||
}
|
||||
|
||||
/** @param {T} element */
|
||||
createInputObjects(element) {
|
||||
return [
|
||||
...super.createInputObjects(element),
|
||||
this.createDraggableObject(element),
|
||||
]
|
||||
}
|
||||
|
||||
/** @param {WindowElement} element */
|
||||
render(element) {
|
||||
return html`
|
||||
|
||||
Reference in New Issue
Block a user