fix: proper window instantiation position calculation
This commit is contained in:
parent
debccd0922
commit
f32dd932f6
2 changed files with 18 additions and 4 deletions
|
@ -8,7 +8,7 @@ var _instantiator: DragonInstantiator
|
|||
|
||||
|
||||
func _ready():
|
||||
_instantiator = DragonInstantiator.new(dragon_template, dragon_spots)
|
||||
_instantiator = DragonInstantiator.new(dragon_template, dragon_spots, get_viewport(), get_window())
|
||||
|
||||
await get_tree().process_frame
|
||||
move_window_to_bottom_right()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue