mirror of
https://github.com/hyprwm/hyprland-plugins.git
synced 2024-11-22 02:35:57 +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();
|
||||
|
||||
if (titleBarBox.w < 1 || titleBarBox.h < 0)
|
||||
if (titleBarBox.w < 1 || titleBarBox.h < 1)
|
||||
return;
|
||||
|
||||
g_pHyprOpenGL->scissor(&titleBarBox);
|
||||
|
|
Loading…
Reference in a new issue