mirror of
https://github.com/hyprwm/hyprland-plugins.git
synced 2025-10-29 11:48:42 +00: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
@ -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…
x
Reference in New Issue
Block a user