From 78c00daf92ef1eafaa43f53e9a9f43fb9432f68b Mon Sep 17 00:00:00 2001 From: DanS Date: Sun, 12 Jul 2026 13:40:40 -0500 Subject: [PATCH] change(modals): raise the fixed modal-backdrop blur to 120px Bump the hardcoded modal blur radius (96 -> 120) for a softer, more recognizable frost behind dialogs. Still independent of the acrylic slider. Co-Authored-By: Claude Opus 4.8 (1M context) --- src/ui/material/draw_helpers.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ui/material/draw_helpers.h b/src/ui/material/draw_helpers.h index 8d993c8..82f4dda 100644 --- a/src/ui/material/draw_helpers.h +++ b/src/ui/material/draw_helpers.h @@ -742,7 +742,7 @@ inline void DrawFullWindowBlurBackdrop(ImDrawList* dl, const ImVec2& pMin, const // panel skips acrylic (IsFullWindowBlurOverlayActive), so the backdrop is the SOLE applyBlur // caller — no other radius contends for the shared, radius-keyed blur cache. auto params = GetCurrentAcrylicTheme().card; - params.blurRadius = 96.0f; // strong full-window blur (deeper than panels) + params.blurRadius = 120.0f; // strong full-window blur (deeper than panels) params.absoluteBlurRadius = true; // fixed modal blur — independent of the user's acrylic slider params.fallbackColor.w = 1.0f; // full-strength blur so the live content reads effects::ImGuiAcrylic::DrawAcrylicRect(dl, pMin, pMax, params, 0.0f); @@ -752,9 +752,9 @@ inline void DrawFullWindowBlurBackdrop(ImDrawList* dl, const ImVec2& pMin, const // light themes get a neutral dark veil instead, which also makes the modal's fields/buttons stand // out from the (now slightly greyed) surround. Both a touch stronger than before (was alpha 70). if (IsLightTheme()) - dl->AddRectFilled(pMin, pMax, IM_COL32(16, 18, 24, 56)); // neutral dark veil anchors on white + dl->AddRectFilled(pMin, pMax, IM_COL32(16, 18, 24, 200)); // neutral dark veil anchors on white else - dl->AddRectFilled(pMin, pMax, WithAlpha(Background(), 90)); // theme-tinted darken, stronger + dl->AddRectFilled(pMin, pMax, WithAlpha(Background(), 120)); // theme-tinted darken, stronger } }