From 7756e463557ee7bbefc43bb9826c9f5b07a187c4 Mon Sep 17 00:00:00 2001 From: zach Date: Sat, 13 Jun 2026 13:14:58 +0200 Subject: [PATCH] fix scrollbar mouse pointer change not being accurate to handle position --- Components/CustomScrollBar.qml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/Components/CustomScrollBar.qml b/Components/CustomScrollBar.qml index d58888b..e68894e 100644 --- a/Components/CustomScrollBar.qml +++ b/Components/CustomScrollBar.qml @@ -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 + } } }