summary refs log tree commit diff
path: root/resources/qml/delegates/TextMessage.qml
diff options
context:
space:
mode:
authorDeepBlueV7.X <nicolas.werner@hotmail.de>2021-09-03 09:43:13 +0000
committerGitHub <noreply@github.com>2021-09-03 09:43:13 +0000
commit5d6c26c8c7c545d8a7bb0554c66c89156dd0a96e (patch)
treeb34f59a7c7d2a6bbfb0b265ab294bdc6d293f202 /resources/qml/delegates/TextMessage.qml
parentMerge pull request #707 from Thulinma/alerts_working_without_homeserver_support (diff)
parentright-click tap handler for replies (diff)
downloadnheko-5d6c26c8c7c545d8a7bb0554c66c89156dd0a96e.tar.xz
Merge pull request #696 from resolritter/reply
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 + } }