summaryrefslogtreecommitdiff
path: root/modules/drawers/Interactions.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-19 17:05:40 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-19 17:05:40 +1000
commitc125f1c7e45cc53b104436dae17f9fe327698d18 (patch)
tree34b68ac0aff24d41291fa646eb2eefa55ed6d046 /modules/drawers/Interactions.qml
parentinput: ripple anim for all buttons (diff)
downloadcaelestia-shell-c125f1c7e45cc53b104436dae17f9fe327698d18.tar.gz
caelestia-shell-c125f1c7e45cc53b104436dae17f9fe327698d18.tar.bz2
caelestia-shell-c125f1c7e45cc53b104436dae17f9fe327698d18.zip
internal: fix qmlls freezing
Diffstat (limited to 'modules/drawers/Interactions.qml')
-rw-r--r--modules/drawers/Interactions.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/drawers/Interactions.qml b/modules/drawers/Interactions.qml
index d38cc8a..54cb24c 100644
--- a/modules/drawers/Interactions.qml
+++ b/modules/drawers/Interactions.qml
@@ -51,10 +51,10 @@ MouseArea {
}
}
- onPositionChanged: ({
- x,
- y
- }) => {
+ onPositionChanged: event => {
+ const x = event.x;
+ const y = event.y;
+
// Show osd on hover
const showOsd = inRightPanel(panels.osd, x, y);