mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 21:05:59 +01:00
shadow: fix missed fullBox.scale
This commit is contained in:
parent
66a3719b86
commit
2b07d54bc7
1 changed files with 2 additions and 0 deletions
|
@ -130,6 +130,8 @@ void CHyprDropShadowDecoration::draw(CMonitor* pMonitor, float a, const Vector2D
|
||||||
CFramebuffer& alphaSwapFB = g_pHyprOpenGL->m_RenderData.pCurrentMonData->mirrorSwapFB;
|
CFramebuffer& alphaSwapFB = g_pHyprOpenGL->m_RenderData.pCurrentMonData->mirrorSwapFB;
|
||||||
auto* LASTFB = g_pHyprOpenGL->m_RenderData.currentFB;
|
auto* LASTFB = g_pHyprOpenGL->m_RenderData.currentFB;
|
||||||
|
|
||||||
|
fullBox.scale(pMonitor->scale).round();
|
||||||
|
|
||||||
if (*PSHADOWIGNOREWINDOW) {
|
if (*PSHADOWIGNOREWINDOW) {
|
||||||
CBox windowBox = m_bLastWindowBox;
|
CBox windowBox = m_bLastWindowBox;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue