diff options
| author | Ted Newman <Tawling@users.noreply.github.com> | 2024-02-02 05:38:24 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-02 07:38:24 -0600 |
| commit | be8dcfda05f511dd8ea0f2a962bf17ccddabf1c9 (patch) | |
| tree | 12e623c7bc03863cf552591f19d83e4b46177d8f | |
| parent | 83da5ee67765f0f63f436733a5b423f6d3e38cbb (diff) | |
Fix Internal Resolution format to use %.1f instead of %d (#3899)
| -rw-r--r-- | soh/soh/Enhancements/resolution-editor/ResolutionEditor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/soh/soh/Enhancements/resolution-editor/ResolutionEditor.cpp b/soh/soh/Enhancements/resolution-editor/ResolutionEditor.cpp index 11a7cd75a..892b5798a 100644 --- a/soh/soh/Enhancements/resolution-editor/ResolutionEditor.cpp +++ b/soh/soh/Enhancements/resolution-editor/ResolutionEditor.cpp @@ -115,7 +115,7 @@ void AdvancedResolutionSettingsWindow::DrawElement() { const bool disabled_resolutionSlider = (CVarGetInteger("gAdvancedResolution.VerticalResolutionToggle", 0) && CVarGetInteger("gAdvancedResolution.Enabled", 0)) || CVarGetInteger("gLowResMode", 0); - if (UIWidgets::EnhancementSliderFloat("Internal Resolution: %d %%", "##IMul", "gInternalResolution", 0.5f, + if (UIWidgets::EnhancementSliderFloat("Internal Resolution: %.1f%%", "##IMul", "gInternalResolution", 0.5f, 2.0f, "", 1.0f, true, true, disabled_resolutionSlider)) { LUS::Context::GetInstance()->GetWindow()->SetResolutionMultiplier( CVarGetFloat("gInternalResolution", 1)); |
