From d0e1fb960b7109560198d4913b23dfb3964d0f89 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Fri, 3 Mar 2023 16:15:33 +0000 Subject: [PATCH] bpp: fix rounding on border 2 --- borders-plus-plus/borderDeco.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/borders-plus-plus/borderDeco.cpp b/borders-plus-plus/borderDeco.cpp index 8f3fd7f..f7904fa 100644 --- a/borders-plus-plus/borderDeco.cpp +++ b/borders-plus-plus/borderDeco.cpp @@ -85,7 +85,7 @@ void CBordersPlusPlus::draw(CMonitor* pMonitor, float a, const Vector2D& offset) g_pHyprOpenGL->scissor((wlr_box*)nullptr); scaleBox(&fullBox, pMonitor->scale); - g_pHyprOpenGL->renderBorder(&fullBox, CColor(*PCOLOR2), *PROUNDING * pMonitor->scale + *PBORDERSIZE * 2, a); + g_pHyprOpenGL->renderBorder(&fullBox, CColor(*PCOLOR2), *PROUNDING * pMonitor->scale + *PBORDERSIZE * 4, a); } eDecorationType CBordersPlusPlus::getDecorationType() {