Fix some UI refactor stuff (#11293)

* add this back

* comment out double changelog toggle

* add back stuff
This commit is contained in:
wrexbe
2022-09-14 22:52:38 -07:00
committed by GitHub
parent 09df0dfb60
commit 4fc235f464
2 changed files with 59 additions and 1 deletions

View File

@@ -36,7 +36,8 @@ public sealed class EscapeUIController : UIController, IOnStateEntered<GameplayS
_escapeWindow.ChangelogButton.OnPressed += _ =>
{
CloseEscapeWindow();
UIManager.GetUIController<ChangelogUIController>().ToggleWindow();
// Put this back when changelog button no longer controls the window
// UIManager.GetUIController<ChangelogUIController>().ToggleWindow();
};
_escapeWindow.RulesButton.OnPressed += _ =>