summaryrefslogtreecommitdiff
path: root/src/render
diff options
context:
space:
mode:
authorvaxerski <vaxry@vaxry.net>2022-09-18 12:13:16 +0100
committervaxerski <vaxry@vaxry.net>2022-09-18 12:13:16 +0100
commitcf32d2808236bd3f12927953b652cc144a0c055f (patch)
tree8cc2a8c01dfc687b417e3212c15401b0e51c50b9 /src/render
parent5131a4acaf0f5319dc581ad0a26498b749ffd1e6 (diff)
fix groupbar being wonk on scaled
Diffstat (limited to 'src/render')
-rw-r--r--src/render/decorations/CHyprGroupBarDecoration.cpp2
1 files changed, 2 insertions, 0 deletions
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;