From 8c11aead18dbb5d963e0831f148f1b7dc5d97df3 Mon Sep 17 00:00:00 2001 From: zach Date: Sat, 4 Jul 2026 15:54:44 +0200 Subject: [PATCH] fix: osd stays open when hovered --- Drawers/Interactions.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Drawers/Interactions.qml b/Drawers/Interactions.qml index 3fd7ee2..b254194 100644 --- a/Drawers/Interactions.qml +++ b/Drawers/Interactions.qml @@ -196,7 +196,7 @@ Item { if (!root.visibilities.bar && Config.bar.autoHide && y < root.bar.implicitHeight) root.bar.isHovered = true; - if (root.panels.sidebar.width === 0) { + if (root.panels.sidebar.offsetScale === 1) { const showOsd = root.inRightPanel(root.panels.osdWrapper, x, y); if (showOsd) { @@ -204,7 +204,7 @@ Item { root.panels.osd.hovered = true; } } else { - const outOfSidebar = x < root.width - root.panels.sidebar.width; + const outOfSidebar = x < root.width - root.panels.sidebar.width * (1 - root.panels.sidebar.offsetScale); const showOsd = outOfSidebar && root.inRightPanel(root.panels.osdWrapper, x, y); if (!root.osdShortcutActive) {