From 617122a1c450bbc2b480be022d969a3b6a1ad917 Mon Sep 17 00:00:00 2001 From: Zacharias-Brohn Date: Tue, 25 Nov 2025 18:16:04 +0100 Subject: [PATCH] popout positioning --- Drawers/Backgrounds.qml | 2 +- Drawers/Panels.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)); } } }