mirror of
https://github.com/hyprwm/hyprland-plugins.git
synced 2024-11-22 10:35:58 +01:00
parent
adec334acf
commit
81460bd869
1 changed files with 1 additions and 1 deletions
|
@ -417,7 +417,7 @@ void CHyprBar::draw(CMonitor* pMonitor, float a, const Vector2D& offset) {
|
||||||
|
|
||||||
titleBarBox.translate(offset).scale(pMonitor->scale).round();
|
titleBarBox.translate(offset).scale(pMonitor->scale).round();
|
||||||
|
|
||||||
if (titleBarBox.w < 1 || titleBarBox.h < 0)
|
if (titleBarBox.w < 1 || titleBarBox.h < 1)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
g_pHyprOpenGL->scissor(&titleBarBox);
|
g_pHyprOpenGL->scissor(&titleBarBox);
|
||||||
|
|
Loading…
Reference in a new issue