Skip to content

Commit

Permalink
fix(OuiModToggler):
Browse files Browse the repository at this point in the history
Add separate menu item for the favorite system
  • Loading branch information
nhruo123 committed Apr 28, 2023
1 parent 1dd97e7 commit 912cfd7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Celeste.Mod.mm/Mod/UI/OuiModToggler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -248,11 +248,13 @@ protected override void addOptionsToMenu(TextMenu menu) {
toggleDependenciesButton.AddDescription(menu, Dialog.Clean("MODOPTIONS_MODTOGGLE_TOGGLEDEPS_MESSAGE2"));
toggleDependenciesButton.AddDescription(menu, Dialog.Clean("MODOPTIONS_MODTOGGLE_TOGGLEDEPS_MESSAGE1"));

TextMenu.Item toggleFavoritesButton;
// TODO: add localization support
menu.Add(toggleDependenciesButton = new TextMenu.OnOff("Toggle Favorites", toggleFavorites)
menu.Add(toggleFavoritesButton = new TextMenu.OnOff("Toggle Favorites", toggleFavorites)
.Change(value => toggleFavorites = value));
// TODO: Add an better indecation for how to use the favorite system
toggleDependenciesButton.AddDescription(menu, "Press the 'Journal key' in order to add or remove items from the favorite list.");
// TODO: Add a better indication for how to use the favorite system
toggleFavoritesButton.AddDescription(menu, "Press the 'Journal key' in order to add or remove items from the favorite list.");



// "cancel" button to leave the screen without saving
Expand Down

0 comments on commit 912cfd7

Please sign in to comment.