bpp: fix rounding on border 2

This commit is contained in:
vaxerski 2023-03-03 16:15:33 +00:00
parent 1083afb2d8
commit d0e1fb960b

View file

@ -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() {