GitLab repository storage has been migrated to hashed layout. Please contact Infrastructure team if you notice any issues with repositories or hooks.

Commit bee8a76d authored by Arnaud B.'s avatar Arnaud B.

Fix a bug.

parent e41b892b
Pipeline #139025 passed with stage
in 2 minutes and 21 seconds
......@@ -268,7 +268,7 @@ private class GameWindow : AdaptativeWindow, AdaptativeWidget
}
else
{
if (game_widget_1 != null)
if (game_widget_1 != null && (!) stack.get_visible_child_name () == "game-box")
((!) game_widget_1).show ();
string? panel_name = stack.get_visible_child_name ();
if (panel_name != null && (!) panel_name == "start-box")
......@@ -308,8 +308,7 @@ private class GameWindow : AdaptativeWindow, AdaptativeWidget
stack.set_visible_child_name ("game-box");
back_button.hide (); // TODO transition?
if (game_widget_1 != null
&& stack.get_visible_child_name () == "start-box")
if (game_widget_1 != null && !is_extra_thin)
((!) game_widget_1).show ();
new_game_button.show ();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment