mirror of
https://github.com/Relintai/GraphicsEditor.git
synced 2024-11-19 16:27:22 +01:00
fixed potential bug when owner isn't ready but children are
This commit is contained in:
parent
d6402d1b05
commit
8b4cf15951
@ -2,6 +2,7 @@ extends AcceptDialog
|
||||
tool
|
||||
|
||||
func _ready():
|
||||
yield(owner, "ready")
|
||||
find_node("GridValue").value = owner.paint_canvas.grid_size
|
||||
find_node("BigGridValue").value = owner.paint_canvas.big_grid_size
|
||||
|
||||
|
@ -2,6 +2,7 @@ extends ConfirmationDialog
|
||||
tool
|
||||
|
||||
func _ready():
|
||||
yield(owner, "ready")
|
||||
find_node("Width").value = owner.paint_canvas.canvas_width
|
||||
find_node("Height").value = owner.paint_canvas.canvas_height
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user