fix scrollbar mouse pointer change not being accurate to handle position
Lint & Format (JS/TS) / lint-format (pull_request) Successful in 11s
Python / lint-format (pull_request) Successful in 21s
Python / test (pull_request) Successful in 31s
Lint & Format (Rust) / lint-format (pull_request) Successful in 1m12s

This commit is contained in:
2026-06-13 13:14:58 +02:00
parent 39895bf75b
commit 7756e46355
+9 -8
View File
@@ -18,14 +18,6 @@ ScrollBar {
implicitWidth: Appearance.padding.extraSmall * 2
contentItem: Item {
MouseArea {
id: mouse
acceptedButtons: Qt.NoButton
anchors.fill: parent
cursorShape: Qt.PointingHandCursor
hoverEnabled: true
}
}
Behavior on position {
enabled: !fullMouse.pressed
@@ -89,6 +81,15 @@ ScrollBar {
type: Anim.DefaultEffects
}
}
MouseArea {
id: mouse
acceptedButtons: Qt.NoButton
anchors.fill: parent
cursorShape: Qt.PointingHandCursor
hoverEnabled: true
}
}
}