mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-28 07:49:50 +01:00
scale shadows properly
This commit is contained in:
parent
5e97fe8fcd
commit
07f68bf72a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue