Enhancement to double pause menu animation speed (#5615)

* Add enhancement to speed up pause menu animation

* Rename CVar to FasterPauseMenu

* Rename kaleido to pause menu

* Rename register func to InitFasterPauseMenu
This commit is contained in:
Eblo
2025-06-28 10:50:28 -04:00
committed by GitHub
parent e15f8d395b
commit 9924ebbd05
2 changed files with 38 additions and 0 deletions

View File

@@ -351,6 +351,9 @@ void SohMenu::AddMenuEnhancements() {
AddWidget(path, "King Zora Speed: %.2fx", WIDGET_CVAR_SLIDER_FLOAT)
.CVar(CVAR_ENHANCEMENT("MweepSpeed"))
.Options(FloatSliderOptions().Min(0.1f).Max(5.0f).DefaultValue(1.0f).Format("%.2fx"));
AddWidget(path, "Faster Pause Menu", WIDGET_CVAR_CHECKBOX)
.CVar(CVAR_ENHANCEMENT("FasterPauseMenu"))
.Options(CheckboxOptions().Tooltip("Speeds up animation of the pause menu, similar to Majora's Mask"));
path.column = SECTION_COLUMN_3;
AddWidget(path, "Misc", WIDGET_SEPARATOR_TEXT);