Big Picture: Fix macro pressure/deadzone not having independent labels

Fixes mangled pop-up, allows both to be set correctly/independently
This commit is contained in:
RedPanda4552 2023-12-05 14:25:23 -05:00 committed by Connor McLaughlin
parent 46c9bcbc4f
commit 59217b9af3
1 changed files with 2 additions and 1 deletions

View File

@ -4125,7 +4125,7 @@ void FullscreenUI::DrawControllerSettingsPage()
1.0f, 0.01f, 100.0f, "%.0f%%");
const std::string deadzone_key(fmt::format("Macro{}Deadzone", macro_index + 1));
DrawFloatSpinBoxSetting(bsi, FSUI_ICONSTR(ICON_FA_ARROW_DOWN, "Pressure"),
DrawFloatSpinBoxSetting(bsi, FSUI_ICONSTR(ICON_FA_ARROW_DOWN, "Deadzone"),
FSUI_CSTR("Determines the pressure required to activate the macro."), section, deadzone_key.c_str(), 0.0f, 0.00f, 1.0f,
0.01f, 100.0f, "%.0f%%");
@ -7160,6 +7160,7 @@ TRANSLATE_NOOP("FullscreenUI", "Macro Button {}");
TRANSLATE_NOOP("FullscreenUI", "Buttons");
TRANSLATE_NOOP("FullscreenUI", "Frequency");
TRANSLATE_NOOP("FullscreenUI", "Pressure");
TRANSLATE_NOOP("FullscreenUI", "Deadzone");
TRANSLATE_NOOP("FullscreenUI", "Controller Port {}{} Settings");
TRANSLATE_NOOP("FullscreenUI", "Controller Port {} Settings");
TRANSLATE_NOOP("FullscreenUI", "USB Port {}");