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.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/resources/qml/ImageButton.qml b/resources/qml/ImageButton.qml

index c68b6cde..ffd3e920 100644 --- a/resources/qml/ImageButton.qml +++ b/resources/qml/ImageButton.qml
@@ -16,6 +16,7 @@ AbstractButton { property color highlightColor: Nheko.colors.highlight property color buttonTextColor: Nheko.colors.buttonText property bool changeColorOnHover: true + property bool ripple: true focusPolicy: Qt.NoFocus width: 16 @@ -38,6 +39,7 @@ AbstractButton { } Ripple { + enabled: button.ripple color: Qt.rgba(buttonTextColor.r, buttonTextColor.g, buttonTextColor.b, 0.5) }