mirror of
https://github.com/hyprwm/hyprland-plugins.git
synced 2025-01-08 05:19:48 +01:00
hyprbars: expand the bar pass bb a bit
occlusion is a bit aggressive, we need to fix that
This commit is contained in:
parent
a98c16ded5
commit
859b9cd371
1 changed files with 2 additions and 1 deletions
|
@ -23,7 +23,8 @@ bool CBarPassElement::needsLiveBlur() {
|
|||
}
|
||||
|
||||
std::optional<CBox> CBarPassElement::boundingBox() {
|
||||
return data.deco->assignedBoxGlobal().translate(-g_pHyprOpenGL->m_RenderData.pMonitor->vecPosition);
|
||||
// Temporary fix: expand the bar bb a bit, otherwise occlusion gets too aggressive.
|
||||
return data.deco->assignedBoxGlobal().translate(-g_pHyprOpenGL->m_RenderData.pMonitor->vecPosition).expand(10);
|
||||
}
|
||||
|
||||
bool CBarPassElement::needsPrecomputeBlur() {
|
||||
|
|
Loading…
Reference in a new issue