summary refs log tree commit diff
path: root/resources/qml/ImageButton.qml
diff options
context:
space:
mode:
Diffstat (limited to 'resources/qml/ImageButton.qml')
-rw-r--r--resources/qml/ImageButton.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/qml/ImageButton.qml b/resources/qml/ImageButton.qml

index 9c0faef3..159c750f 100644 --- a/resources/qml/ImageButton.qml +++ b/resources/qml/ImageButton.qml
@@ -1,6 +1,7 @@ import "./ui" import QtQuick 2.3 import QtQuick.Controls 2.3 +import im.nheko 1.0 // for cursor shape AbstractButton { id: button @@ -23,11 +24,10 @@ AbstractButton { source: image != "" ? ("image://colorimage/" + image + "?" + ((button.hovered && changeColorOnHover) ? highlightColor : buttonTextColor)) : "" } - MouseArea { + CursorShape { id: mouseArea anchors.fill: parent - onPressed: mouse.accepted = false cursorShape: Qt.PointingHandCursor }