diff --git a/Drawers/Backgrounds.qml b/Drawers/Backgrounds.qml index 31a8c07..dfa1185 100644 --- a/Drawers/Backgrounds.qml +++ b/Drawers/Backgrounds.qml @@ -16,7 +16,7 @@ Shape { Modules.Background { wrapper: root.panels.popouts - startX: Math.floor(wrapper.x - rounding) + startX: wrapper.x - rounding startY: wrapper.y } } diff --git a/Drawers/Panels.qml b/Drawers/Panels.qml index 552a3ea..adfb7b5 100644 --- a/Drawers/Panels.qml +++ b/Drawers/Panels.qml @@ -27,7 +27,7 @@ Item { const diff = root.width - Math.floor(off + nonAnimWidth); if (diff < 0) return off + diff; - return Math.max(off, 0); + return Math.floor(Math.max(off, 0)); } } }