Add more implementation for gallery menu

This commit is contained in:
2026-02-19 02:12:32 -08:00
parent 104b9cf25e
commit 6e3175fb99
5 changed files with 522 additions and 245 deletions

View File

@@ -219,6 +219,7 @@ public partial class App : Node, IApp
private async Task<Node> LoadSceneInternal(string sceneName)
{
LoadingScreen.ShowLoadingScreen();
MainMenu.Hide();
LoadingScreen.ProgressBar.Value = 0;
var sceneLoader = new SceneLoader();
CallDeferred(MethodName.AddChild, sceneLoader);
@@ -238,11 +239,7 @@ public partial class App : Node, IApp
OptionsMenu.GameTab.GrabFocus();
}
private async void OnGallery()
{
GalleryMenu.Show();
GalleryMenu.ItemButton1.GrabFocus();
}
private async void OnGallery() => GalleryMenu.Show();
public void OnQuit() => AppLogic.Input(new AppLogic.Input.QuitGame());