1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-06 05:25:41 -05:00

re-work mouse handling of dannkbar

This commit is contained in:
bbedward
2025-10-13 21:34:53 -04:00
parent 07fe2ca407
commit 3be3e622bc
3 changed files with 13 additions and 57 deletions

View File

@@ -241,7 +241,6 @@ Rectangle {
MouseArea {
anchors.fill: parent
hoverEnabled: true
acceptedButtons: Qt.NoButton
property real scrollAccumulator: 0
@@ -416,9 +415,7 @@ Rectangle {
MouseArea {
id: mouseArea
anchors.centerIn: parent
width: root.isVertical ? parent.width + Theme.spacingXL : parent.width
height: root.isVertical ? parent.height : parent.height + Theme.spacingXL
anchors.fill: parent
hoverEnabled: !isPlaceholder
cursorShape: isPlaceholder ? Qt.ArrowCursor : Qt.PointingHandCursor
enabled: !isPlaceholder