mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-26 04:58:49 +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 {
|
Connections {
|
||||||
target: chat
|
target: chat
|
||||||
onMovementEnded: {
|
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;
|
chat.model.currentIndex = index;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
TextMessage {
|
TextMessage {
|
||||||
font.italic: true
|
font.italic: true
|
||||||
color: colors.buttonText
|
color: colors.buttonText
|
||||||
height: isReply ? Math.min(chat.height / 8, implicitHeight) : undefined
|
height: isReply ? Math.min(timelineRoot.height / 8, implicitHeight) : undefined
|
||||||
clip: isReply
|
clip: isReply
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue