mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-03-07 08:07:29 +08:00
Make elements default constructible, testing wip
This commit is contained in:
@@ -23,8 +23,8 @@ export default class IDraggableControlTemplate extends IDraggableTemplate {
|
||||
movementSpace
|
||||
movementSpaceSize = [0, 0]
|
||||
|
||||
connectedCallback() {
|
||||
super.connectedCallback()
|
||||
setup() {
|
||||
super.setup()
|
||||
this.movementSpace = this.element.parentElement
|
||||
const bounding = this.movementSpace.getBoundingClientRect()
|
||||
this.movementSpaceSize = [bounding.width, bounding.height]
|
||||
|
||||
Reference in New Issue
Block a user