summary refs log tree commit diff
path: root/resources/qml/delegates/TextMessage.qml
diff options
context:
space:
mode:
authorresolritter <joao.paulo.silvasouza@hotmail.com>2021-08-25 11:10:55 -0300
committerresolritter <joao.paulo.silvasouza@hotmail.com>2021-08-31 16:45:44 -0300
commit3f8bb19ba1fed05d0a19ce16690f88c09f3aed79 (patch)
tree36f8275e82fc8963e9b796e80b6638f746a5703f /resources/qml/delegates/TextMessage.qml
parentTranslated using Weblate (German) (diff)
downloadnheko-3f8bb19ba1fed05d0a19ce16690f88c09f3aed79.tar.xz
right-click tap handler for replies
Diffstat (limited to 'resources/qml/delegates/TextMessage.qml')
-rw-r--r--resources/qml/delegates/TextMessage.qml7
1 files changed, 7 insertions, 0 deletions
diff --git a/resources/qml/delegates/TextMessage.qml b/resources/qml/delegates/TextMessage.qml
index 58aa99ca..0bc45a9c 100644
--- a/resources/qml/delegates/TextMessage.qml
+++ b/resources/qml/delegates/TextMessage.qml
@@ -3,6 +3,7 @@
 // SPDX-License-Identifier: GPL-3.0-or-later
 
 import ".."
+import QtQuick.Controls 2.3
 import im.nheko 1.0
 
 MatrixText {
@@ -35,4 +36,10 @@ MatrixText {
     clip: isReply
     selectByMouse: !Settings.mobileMode && !isReply
     font.pointSize: (Settings.enlargeEmojiOnlyMessages && isOnlyEmoji > 0 && isOnlyEmoji < 4) ? Settings.fontSize * 3 : Settings.fontSize
+
+    CursorShape {
+        enabled: isReply
+        anchors.fill: parent
+        cursorShape: Qt.PointingHandCursor
+    }
 }