diff options
| author | Eblo <7004497+Eblo@users.noreply.github.com> | 2025-07-25 08:11:34 -0400 |
|---|---|---|
| committer | Eblo <7004497+Eblo@users.noreply.github.com> | 2025-09-10 12:35:39 -0400 |
| commit | fa775e939386fc6b492fdf74c63194dac1bd0af9 (patch) | |
| tree | 7e659bf600f63c28022bde2640968ea604c830ed /mm/2s2h/BenGui/BenMenu.cpp | |
| parent | a9e1dc45f00e31245310668d543485e69329f97e (diff) | |
Fix float slider labels (#1210)
Diffstat (limited to 'mm/2s2h/BenGui/BenMenu.cpp')
| -rw-r--r-- | mm/2s2h/BenGui/BenMenu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/2s2h/BenGui/BenMenu.cpp b/mm/2s2h/BenGui/BenMenu.cpp index d85843d59..283312b23 100644 --- a/mm/2s2h/BenGui/BenMenu.cpp +++ b/mm/2s2h/BenGui/BenMenu.cpp @@ -537,7 +537,7 @@ void BenMenu::AddSettings() { .Tooltip("Which corner of the screen notifications appear in.") .ComboVec(¬ificationPosition) .DefaultIndex(3)); - AddWidget(path, "Duration: %.0f seconds", WIDGET_CVAR_SLIDER_FLOAT) + AddWidget(path, "Duration: %.1f seconds", WIDGET_CVAR_SLIDER_FLOAT) .CVar("gNotifications.Duration") .Options(FloatSliderOptions() .Tooltip("How long notifications are displayed for.") @@ -580,7 +580,7 @@ void BenMenu::AddSettings() { AddWidget(path, "Hide Window Background", WIDGET_CVAR_CHECKBOX) .CVar("gDisplayOverlay.Background") .Options(CheckboxOptions().Tooltip("Hides the background of the Display Overlay window.")); - AddWidget(path, "Scale: %.0fx", WIDGET_CVAR_SLIDER_FLOAT) + AddWidget(path, "Scale: %.1fx", WIDGET_CVAR_SLIDER_FLOAT) .CVar("gDisplayOverlay.Scale") .Options(FloatSliderOptions() .Tooltip("Adjust the Scale for the Display Overlay window.") |
