1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 17:19:50 +00:00

Fix PreferencesDialog becoming smaller if the display scale changes

This commit is contained in:
Emmanouil Papadeas 2022-09-22 17:04:20 +03:00
parent 37eee319b5
commit c2e90f77b0

View file

@ -351,7 +351,7 @@ func _on_ShrinkApplyButton_pressed() -> void:
)
Global.control.set_custom_cursor()
hide()
popup_centered(Vector2(400, 280))
popup_centered(Vector2(600, 400))
Global.dialog_open(true)
yield(get_tree(), "idle_frame")
Global.camera.fit_to_frame(Global.current_project.size)