From cf32d2808236bd3f12927953b652cc144a0c055f Mon Sep 17 00:00:00 2001 From: vaxerski Date: Sun, 18 Sep 2022 12:13:16 +0100 Subject: fix groupbar being wonk on scaled --- src/render/decorations/CHyprGroupBarDecoration.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/render') diff --git a/src/render/decorations/CHyprGroupBarDecoration.cpp b/src/render/decorations/CHyprGroupBarDecoration.cpp index 17a79a1d..7d218ce1 100644 --- a/src/render/decorations/CHyprGroupBarDecoration.cpp +++ b/src/render/decorations/CHyprGroupBarDecoration.cpp @@ -82,6 +82,8 @@ void CHyprGroupBarDecoration::draw(CMonitor* pMonitor, float a) { if (rect.width <= 0 || rect.height <= 0) break; + scaleBox(&rect, pMonitor->scale); + static auto *const PGROUPCOLACTIVE = &g_pConfigManager->getConfigValuePtr("dwindle:col.group_border_active")->intValue; static auto *const PGROUPCOLINACTIVE = &g_pConfigManager->getConfigValuePtr("dwindle:col.group_border")->intValue; -- cgit v1.2.3