Try to avoid QTBUG-89568

pull/471/head
Nicolas Werner 4 years ago
parent a62276c289
commit 6a2e8a6952
  1. 2
      resources/qml/MessageView.qml
  2. 2
      resources/qml/delegates/NoticeMessage.qml

@ -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…
Cancel
Save