interpolate popup scale
This commit is contained in:
parent
6b2587a90d
commit
774ad1b565
2 changed files with 13 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue