internal: make borderSize prop overridable
This commit is contained in:
parent
df98db5092
commit
d83e5b8409
3 changed files with 7 additions and 5 deletions
|
|
@ -345,7 +345,7 @@ void CHyprRenderer::renderWindow(CWindow* pWindow, CMonitor* pMonitor, timespec*
|
|||
|
||||
scaleBox(&windowBox, pMonitor->scale);
|
||||
|
||||
const int BORDERSIZE = pWindow->m_sSpecialRenderData.borderSize == -1 ? *PBORDERSIZE : pWindow->m_sSpecialRenderData.borderSize;
|
||||
const int BORDERSIZE = pWindow->m_sSpecialRenderData.borderSize.toUnderlying() == -1 ? *PBORDERSIZE : pWindow->m_sSpecialRenderData.borderSize.toUnderlying();
|
||||
|
||||
g_pHyprOpenGL->renderBorder(&windowBox, grad, rounding, BORDERSIZE, a1);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue