summaryrefslogtreecommitdiff
path: root/modules/drawers/Panels.qml
diff options
context:
space:
mode:
Diffstat (limited to 'modules/drawers/Panels.qml')
-rw-r--r--modules/drawers/Panels.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/drawers/Panels.qml b/modules/drawers/Panels.qml
index ae3a9f2..d27dca0 100644
--- a/modules/drawers/Panels.qml
+++ b/modules/drawers/Panels.qml
@@ -92,7 +92,7 @@ Item {
const diff = root.height - Math.floor(off + nonAnimHeight);
if (diff < 0)
return off + diff;
- return off;
+ return Math.max(off, 0);
}
}