From 3305be6318807a1c497ff9d0c3a6041837dd4dca Mon Sep 17 00:00:00 2001 From: DanS Date: Fri, 3 Jul 2026 18:57:28 -0500 Subject: [PATCH] =?UTF-8?q?feat(market):=20drop=20the=20portfolio=20modal?= =?UTF-8?q?=20card=20panel=20=E2=80=94=20float=20content=20on=20the=20back?= =?UTF-8?q?drop?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove the centered glass card behind the Manage-portfolio content so it floats directly on the blurred/opaque full-window backdrop. The little live-preview card keeps its panel (it previews the actual group card). Co-Authored-By: Claude Opus 4.8 (1M context) --- src/ui/windows/market_tab.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/ui/windows/market_tab.cpp b/src/ui/windows/market_tab.cpp index 77939a0..7116081 100644 --- a/src/ui/windows/market_tab.cpp +++ b/src/ui/windows/market_tab.cpp @@ -415,13 +415,12 @@ static void RenderPortfolioEditor(App* app) ImGui::InvisibleButton("##pfInputBlocker", vpSize, ImGuiButtonFlags_MouseButtonLeft | ImGuiButtonFlags_MouseButtonRight | ImGuiButtonFlags_MouseButtonMiddle); - // Card: large, centered, fixed size. + // Content region: large, centered, fixed size. No card panel — the content floats directly + // on the blurred backdrop. float cardW = std::min(vpSize.x - 64.0f * dp, 1120.0f * dp); float cardH = std::min(vpSize.y - 64.0f * dp, 760.0f * dp); ImVec2 cardMin(vpPos.x + (vpSize.x - cardW) * 0.5f, vpPos.y + (vpSize.y - cardH) * 0.5f); ImVec2 cardMax(cardMin.x + cardW, cardMin.y + cardH); - { GlassPanelSpec cs; cs.rounding = 20.0f; cs.fillAlpha = 40; cs.borderAlpha = 60; cs.borderWidth = 1.0f; - DrawGlassPanel(dl, cardMin, cardMax, cs); } ImGui::SetCursorScreenPos(cardMin); ImGui::PushStyleVar(ImGuiStyleVar_ChildRounding, 20.0f);