drawers: fix interactions area

Make osd slider handles have pointer cursor
This commit is contained in:
2 * r + 2 * t 2025-05-27 11:46:33 +08:00
parent 6cd1700603
commit 67cc257960
2 changed files with 8 additions and 2 deletions

View file

@ -53,8 +53,8 @@ Variants {
Region {
required property Item modelData
x: modelData.x
y: modelData.y
x: modelData.x + BorderConfig.thickness
y: modelData.y + BorderConfig.thickness
width: modelData.width
height: modelData.height
intersection: Intersection.Subtract

View file

@ -54,6 +54,12 @@ Slider {
color: Colours.alpha(Colours.palette.m3inverseSurface, true)
radius: Appearance.rounding.full
MouseArea {
anchors.fill: parent
cursorShape: Qt.PointingHandCursor
onPressed: event => event.accepted = false
}
MaterialIcon {
id: icon