interpolate popup scale

This commit is contained in:
Fabien Freling 2020-05-23 19:02:18 +02:00
parent 6b2587a90d
commit 774ad1b565
2 changed files with 13 additions and 2 deletions

View file

@ -62,7 +62,7 @@ func _on_Taquin_state_changed(previous, new):
pass
func _on_New_game_pressed():
$NewGamePanel.popup_centered(OS.window_size * 0.9)
$NewGamePanel.popup_centered_ratio($NewGamePanel.window_scale_factor)
func _on_NewGamePanel_about_to_show():
$HSplitContainer/Taquin.set_process_input(false)