mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 01:48:15 +03:00
Move graphic options menu update to toggleFullScreen
This fixes a bug where using the fullscreen toggle keybind (Alt+Enter, Alt+F, or F11) wouldn't update the color of the "resize to nearest" menu option. The color doesn't functionally change anything - the option still won't work, and will still have the message telling you that you need to be in windowed mode when you move your menu selection to it - but it's an easy inconsistency to fix; just move the menu recreation in to Screen::toggleFullScreen() itself.
This commit is contained in:
@@ -456,10 +456,6 @@ static void menuactionpress(void)
|
||||
case 0:
|
||||
music.playef(11);
|
||||
graphics.screenbuffer->toggleFullScreen();
|
||||
|
||||
// Recreate menu to update "resize to nearest"
|
||||
game.createmenu(game.currentmenuname, true);
|
||||
|
||||
game.savestatsandsettings_menu();
|
||||
break;
|
||||
case 1:
|
||||
|
||||
Reference in New Issue
Block a user