1 files changed, 10 insertions, 0 deletions
diff --git a/resources/qml/Completer.qml b/resources/qml/Completer.qml
index 9703da64..ff342be5 100644
--- a/resources/qml/Completer.qml
+++ b/resources/qml/Completer.qml
@@ -1,3 +1,4 @@
+import "./ui"
import QtQuick 2.9
import QtQuick.Controls 2.3
import QtQuick.Layouts 1.2
@@ -79,10 +80,18 @@ Popup {
implicitWidth: chooser.childrenRect.width + 4
MouseArea {
+ id: mouseArea
+
anchors.fill: parent
hoverEnabled: true
onEntered: popup.currentIndex = model.index
onClicked: popup.completionClicked(completer.completionAt(model.index))
+
+ Ripple {
+ rippleTarget: mouseArea
+ color: Qt.rgba(colors.base.r, colors.base.g, colors.base.b, 0.5)
+ }
+
}
DelegateChooser {
@@ -104,6 +113,7 @@ Popup {
width: 24
displayName: model.displayName
url: model.avatarUrl.replace("mxc://", "image://MxcImage/")
+ onClicked: popup.completionClicked(completer.completionAt(model.index))
}
Label {
|