dont scale thick in border

This commit is contained in:
vaxerski 2022-06-24 15:52:42 +02:00
parent 218675246f
commit 81e36298bf

View file

@ -683,7 +683,7 @@ void CHyprOpenGLImpl::renderBorder(wlr_box* box, const CColor& col, int thick, i
box->width += 2 * thick; box->width += 2 * thick;
box->height += 2 * thick; box->height += 2 * thick;
round += thick * m_RenderData.pMonitor->scale; // cuz yeah round += thick; // cuz yeah
// only draw on non-stencild. // only draw on non-stencild.
glStencilFunc(GL_NOTEQUAL, 1, -1); glStencilFunc(GL_NOTEQUAL, 1, -1);