diff options
author | resolritter <joao.paulo.silvasouza@hotmail.com> | 2021-08-25 11:10:55 -0300 |
---|---|---|
committer | resolritter <joao.paulo.silvasouza@hotmail.com> | 2021-08-31 16:45:44 -0300 |
commit | 3f8bb19ba1fed05d0a19ce16690f88c09f3aed79 (patch) | |
tree | 36f8275e82fc8963e9b796e80b6638f746a5703f /resources/qml/delegates/TextMessage.qml | |
parent | Translated using Weblate (German) (diff) | |
download | nheko-3f8bb19ba1fed05d0a19ce16690f88c09f3aed79.tar.xz |
right-click tap handler for replies
Diffstat (limited to 'resources/qml/delegates/TextMessage.qml')
-rw-r--r-- | resources/qml/delegates/TextMessage.qml | 7 |
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 + } } |