Qt 6.4 properly supports scrolling text with touch

This commit is contained in:
Loren Burkholder 2023-09-30 10:00:04 -04:00
parent 03be9e479a
commit 879ef31fcf
No known key found for this signature in database
GPG key ID: AB62CB312CEC2BBC
5 changed files with 16 additions and 20 deletions

View file

@ -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 {