mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-05-20 04:47:35 +08:00
Minor refactoring and fixes
This commit is contained in:
@@ -43,6 +43,12 @@ export default class WindowElement extends IDraggableElement {
|
||||
super.initialize(entity, template)
|
||||
}
|
||||
|
||||
setup() {
|
||||
super.setup()
|
||||
this.locationX = this.blueprint.mousePosition[0]
|
||||
this.locationY = this.blueprint.mousePosition[1]
|
||||
}
|
||||
|
||||
cleanup() {
|
||||
super.cleanup()
|
||||
this.acknowledgeClose()
|
||||
|
||||
Reference in New Issue
Block a user