summaryrefslogtreecommitdiff
path: root/modules/osd
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-11 21:24:14 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-11 21:24:14 +1000
commita2c34176751b12ecfeefcadb169d1140177a6fe1 (patch)
tree233644a5af8df91764b5930d0b7c118e6953c0a1 /modules/osd
parentnotifs: disable listview interactivity (diff)
downloadcaelestia-shell-a2c34176751b12ecfeefcadb169d1140177a6fe1.tar.gz
caelestia-shell-a2c34176751b12ecfeefcadb169d1140177a6fe1.tar.bz2
caelestia-shell-a2c34176751b12ecfeefcadb169d1140177a6fe1.zip
osd: fix show on hover
Diffstat (limited to 'modules/osd')
-rw-r--r--modules/osd/Osd.qml2
1 files changed, 1 insertions, 1 deletions
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();
}
}