1 files changed, 7 insertions, 0 deletions
diff --git a/resources/qml/ImageButton.qml b/resources/qml/ImageButton.qml
index 4ebda680..b5a34b7b 100644
--- a/resources/qml/ImageButton.qml
+++ b/resources/qml/ImageButton.qml
@@ -1,3 +1,4 @@
+import "./ui"
import QtQuick 2.3
import QtQuick.Controls 2.3
@@ -28,4 +29,10 @@ AbstractButton {
cursorShape: Qt.PointingHandCursor
}
+ Ripple {
+ color: Qt.rgba(buttonTextColor.r, buttonTextColor.g, buttonTextColor.b, 0.5)
+ clip: false
+ rippleTarget: button
+ }
+
}
|