mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 19:08:58 +03:00
Try to avoid QTBUG-89568
This commit is contained in:
parent
a62276c289
commit
6a2e8a6952
2 changed files with 2 additions and 2 deletions
|
@ -194,7 +194,7 @@ ListView {
|
|||
Connections {
|
||||
target: chat
|
||||
onMovementEnded: {
|
||||
if (y + height + 2 * chat.spacing > chat.contentY + chat.height && y < chat.contentY + chat.height)
|
||||
if (y + height + 2 * chat.spacing > chat.contentY + timelineRoot.height && y < chat.contentY + timelineRoot.height)
|
||||
chat.model.currentIndex = index;
|
||||
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
TextMessage {
|
||||
font.italic: true
|
||||
color: colors.buttonText
|
||||
height: isReply ? Math.min(chat.height / 8, implicitHeight) : undefined
|
||||
height: isReply ? Math.min(timelineRoot.height / 8, implicitHeight) : undefined
|
||||
clip: isReply
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue