From a2c34176751b12ecfeefcadb169d1140177a6fe1 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sun, 11 May 2025 21:24:14 +1000 Subject: osd: fix show on hover --- modules/osd/Osd.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/osd/Osd.qml b/modules/osd/Osd.qml index 18c53ee..8f93ae9 100644 --- a/modules/osd/Osd.qml +++ b/modules/osd/Osd.qml @@ -55,7 +55,7 @@ Variants { target: Drawers function onPosChanged(screen: ShellScreen, x: int, y: int): void { - if (screen === root.modelData && x > screen.width / 2 && y > (screen.height - root.winHeight) / 2 && y < (screen.height + root.winHeight) / 2) + if (screen === root.modelData && x > screen.width - BorderConfig.thickness && y > (screen.height - root.winHeight) / 2 && y < (screen.height + root.winHeight) / 2) root.show(); } } -- cgit v1.2.3-freya