Skip to content

Commit

Permalink
Enable certain Quick Settings menu when game is running
Browse files Browse the repository at this point in the history
Enhancement #197

This commits enables Quick Settings button when game is running like opening folders.. well that's basically it
  • Loading branch information
bagusnl committed Jul 28, 2023
1 parent 0e82032 commit a73d708
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions CollapseLauncher/XAMLs/MainApp/Pages/HomePage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,13 @@ private async void CheckRunningGameInstance(CancellationToken Token)

StartGameBtn.IsEnabled = false;
StartGameBtn.Content = BtnRunningGame;
GameStartupSetting.IsEnabled = false;

//GameStartupSetting.IsEnabled = false;
RepairGameButton.IsEnabled = false;
UninstallGameButton.IsEnabled = false;
ConvertVersionButton.IsEnabled = false;
CustomArgsTextBox.IsEnabled = false;

PlaytimeIdleStack.Visibility = Visibility.Collapsed;
PlaytimeRunningStack.Visibility = Visibility.Visible;

Expand All @@ -641,7 +647,13 @@ private async void CheckRunningGameInstance(CancellationToken Token)

StartGameBtn.IsEnabled = true;
StartGameBtn.Content = BtnStartGame;
GameStartupSetting.IsEnabled = true;

//GameStartupSetting.IsEnabled = true;
RepairGameButton.IsEnabled = true;
UninstallGameButton.IsEnabled = true;
ConvertVersionButton.IsEnabled = true;
CustomArgsTextBox.IsEnabled = true;

PlaytimeIdleStack.Visibility = Visibility.Visible;
PlaytimeRunningStack.Visibility = Visibility.Collapsed;

Expand Down

0 comments on commit a73d708

Please sign in to comment.