drawers: fix interactions area
Make osd slider handles have pointer cursor
This commit is contained in:
parent
6cd1700603
commit
67cc257960
2 changed files with 8 additions and 2 deletions
|
|
@ -53,8 +53,8 @@ Variants {
|
||||||
Region {
|
Region {
|
||||||
required property Item modelData
|
required property Item modelData
|
||||||
|
|
||||||
x: modelData.x
|
x: modelData.x + BorderConfig.thickness
|
||||||
y: modelData.y
|
y: modelData.y + BorderConfig.thickness
|
||||||
width: modelData.width
|
width: modelData.width
|
||||||
height: modelData.height
|
height: modelData.height
|
||||||
intersection: Intersection.Subtract
|
intersection: Intersection.Subtract
|
||||||
|
|
|
||||||
|
|
@ -54,6 +54,12 @@ Slider {
|
||||||
color: Colours.alpha(Colours.palette.m3inverseSurface, true)
|
color: Colours.alpha(Colours.palette.m3inverseSurface, true)
|
||||||
radius: Appearance.rounding.full
|
radius: Appearance.rounding.full
|
||||||
|
|
||||||
|
MouseArea {
|
||||||
|
anchors.fill: parent
|
||||||
|
cursorShape: Qt.PointingHandCursor
|
||||||
|
onPressed: event => event.accepted = false
|
||||||
|
}
|
||||||
|
|
||||||
MaterialIcon {
|
MaterialIcon {
|
||||||
id: icon
|
id: icon
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue