diff options
author | Loren Burkholder <computersemiexpert@outlook.com> | 2023-09-30 10:00:04 -0400 |
---|---|---|
committer | Loren Burkholder <computersemiexpert@outlook.com> | 2023-09-30 10:26:45 -0400 |
commit | 879ef31fcfcebfe40807a477e22504dc77b606c3 (patch) | |
tree | 22f76594e42af5f33f0fe9e94faf23521b412583 /resources/qml/delegates | |
parent | Update mtxclient to work around empty event types (diff) | |
download | nheko-879ef31fcfcebfe40807a477e22504dc77b606c3.tar.xz |
Qt 6.4 properly supports scrolling text with touch
Diffstat (limited to 'resources/qml/delegates')
-rw-r--r-- | resources/qml/delegates/TextMessage.qml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/resources/qml/delegates/TextMessage.qml b/resources/qml/delegates/TextMessage.qml index 1eb5e2c0..aabb7136 100644 --- a/resources/qml/delegates/TextMessage.qml +++ b/resources/qml/delegates/TextMessage.qml @@ -3,8 +3,8 @@ // SPDX-License-Identifier: GPL-3.0-or-later import ".." -import QtQuick.Controls 2.3 -import im.nheko 1.0 +import QtQuick.Controls +import im.nheko MatrixText { required property string body @@ -42,8 +42,8 @@ MatrixText { width: parent?.width ?? 0 height: !keepFullText ? Math.round(Math.min(timelineView.height / 8, implicitHeight)) : implicitHeight clip: !keepFullText - selectByMouse: !Settings.mobileMode && !isReply - enabled: !Settings.mobileMode + selectByMouse: !isReply +// enabled: !Settings.mobileMode font.pointSize: (Settings.enlargeEmojiOnlyMessages && isOnlyEmoji > 0 && isOnlyEmoji < 4) ? Settings.fontSize * 3 : Settings.fontSize NhekoCursorShape { |