summaryrefslogtreecommitdiff
path: root/modules/drawers
diff options
context:
space:
mode:
Diffstat (limited to 'modules/drawers')
-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);