mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-02 14:26:00 +01:00
dont scale thick in border
This commit is contained in:
parent
218675246f
commit
81e36298bf
1 changed files with 1 additions and 1 deletions
|
@ -683,7 +683,7 @@ void CHyprOpenGLImpl::renderBorder(wlr_box* box, const CColor& col, int thick, i
|
|||
box->width += 2 * thick;
|
||||
box->height += 2 * thick;
|
||||
|
||||
round += thick * m_RenderData.pMonitor->scale; // cuz yeah
|
||||
round += thick; // cuz yeah
|
||||
|
||||
// only draw on non-stencild.
|
||||
glStencilFunc(GL_NOTEQUAL, 1, -1);
|
||||
|
|
Loading…
Reference in a new issue