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

index aa873ffe..2801bd37 100644 --- a/resources/qml/Avatar.qml +++ b/resources/qml/Avatar.qml
@@ -1,3 +1,4 @@ +import "./ui" import QtGraphicalEffects 1.0 import QtQuick 2.6 import QtQuick.Controls 2.3 @@ -43,6 +44,12 @@ Rectangle { anchors.fill: parent onClicked: TimelineManager.openImageOverlay(TimelineManager.timeline.avatarUrl(userid), TimelineManager.timeline.data.id) + + Ripple { + rippleTarget: mouseArea + color: Qt.rgba(colors.alternateBase.r, colors.alternateBase.g, colors.alternateBase.b, 0.5) + } + } layer.effect: OpacityMask {