scale shadows properly

This commit is contained in:
vaxerski 2022-08-04 11:18:33 +02:00
parent 5e97fe8fcd
commit 07f68bf72a

View file

@ -117,7 +117,7 @@ void CHyprDropShadowDecoration::draw(CMonitor* pMonitor, float a) {
}
scaleBox(&fullBox, pMonitor->scale);
g_pHyprOpenGL->renderRoundedShadow(&fullBox, *PROUNDING, *PSHADOWSIZE, a);
g_pHyprOpenGL->renderRoundedShadow(&fullBox, *PROUNDING, *PSHADOWSIZE * pMonitor->scale, a);
if (*PSHADOWIGNOREWINDOW) {
// cleanup