From 9edfba8f18fc37a60009f279a407b02658994f10 Mon Sep 17 00:00:00 2001 From: miruka Date: Wed, 8 Jul 2020 20:30:06 -0400 Subject: [PATCH] Fix hovering media not changing mouse cursor shape --- src/gui/Base/HListView.qml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/gui/Base/HListView.qml b/src/gui/Base/HListView.qml index 8ca55f25..c838d490 100644 --- a/src/gui/Base/HListView.qml +++ b/src/gui/Base/HListView.qml @@ -59,7 +59,7 @@ ListView { onSelectedCountChanged: if (! selectedCount) lastCheckedDelegateIndex = 0 - property alias cursorShape: mouseArea.cursorShape + property alias cursorShape: cursorShapeArea.cursorShape property int currentItemHeight: currentItem ? currentItem.height : 0 property var checked: ({}) @@ -131,8 +131,13 @@ ListView { } + MouseArea { + id: cursorShapeArea + anchors.fill: parent + acceptedButtons: Qt.NoButton + } + HKineticScrollingDisabler { - id: mouseArea width: enabled ? parent.width : 0 height: enabled ? parent.height : 0 }