From e0973ab3544dbf746947247657c12fb0663af567 Mon Sep 17 00:00:00 2001 From: FakeMichau <49685661+FakeMichau@users.noreply.github.com> Date: Sat, 22 Aug 2026 00:19:33 +0200 Subject: [PATCH] Display current sharpness value in the menu --- OptiScaler/menu/menu_common.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/OptiScaler/menu/menu_common.cpp b/OptiScaler/menu/menu_common.cpp index 36968bb2..d4627ab1 100644 --- a/OptiScaler/menu/menu_common.cpp +++ b/OptiScaler/menu/menu_common.cpp @@ -5262,6 +5262,14 @@ bool MenuCommon::RenderMenu() ShowHelpMarker("Ignores the value sent by the game\n" "and uses the value set below"); + ImGui::SameLine(0.0f, 16.0f * menuResScale); + + float featuresCurrentSharpness = currentFeature->Sharpness(); + if (featuresCurrentSharpness > 0.0f) + ImGui::TextDisabled("(Current: %.3f)", featuresCurrentSharpness); + else + ImGui::TextDisabled("(Current: disabled)"); + ImGui::BeginDisabled(!config->OverrideSharpness.value_or_default()); float sharpness = config->Sharpness.value_or_default();