summaryrefslogtreecommitdiff
path: root/bar/TimeDate.qml
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2026-08-23 11:53:32 +0800
committerlittleblack111 <littleblack11111@gmail.com>2026-08-23 11:59:54 +0800
commita41ab9ad95b4f8e053af82741a45f747e77ff37a (patch)
treee420ff6c7949df0a7767235a82080eb958689e2d /bar/TimeDate.qml
parent745c999f076f55becd4526c41c02b800c927e8ce (diff)
MouseArea: attempt to replace all MouseArea to modern non stealing
alternative mousearea anchor.fill parent of item/slider etc. that doesn't have width or height won't work with the modern alternative so..
Diffstat (limited to 'bar/TimeDate.qml')
-rw-r--r--bar/TimeDate.qml8
1 files changed, 5 insertions, 3 deletions
diff --git a/bar/TimeDate.qml b/bar/TimeDate.qml
index 2716e6d..68a5a52 100644
--- a/bar/TimeDate.qml
+++ b/bar/TimeDate.qml
@@ -123,10 +123,12 @@ Item {
}
}
}
- MouseArea {
- anchors.fill: parent
+
+ HoverHandler {
cursorShape: Qt.PointingHandCursor
- onPressed: {
+ }
+ TapHandler {
+ onTapped: {
root.isAlt = !root.isAlt;
}
}