Also updates libqmatrixclient.
This commit is contained in:
Black Hat
2018-10-12 20:38:05 +08:00
parent 3dd4f18cc4
commit 99bf32bf91
3 changed files with 8 additions and 2 deletions

View File

@@ -95,6 +95,12 @@ RowLayout {
textFormat: Text.RichText textFormat: Text.RichText
onLinkActivated: Qt.openUrlExternally(link) onLinkActivated: Qt.openUrlExternally(link)
MouseArea {
anchors.fill: parent
acceptedButtons: Qt.NoButton
cursorShape: parent.hoveredLink ? Qt.PointingHandCursor : Qt.ArrowCursor
}
} }
Loader { Loader {

View File

@@ -10,7 +10,7 @@ RoomPanelForm {
{ {
var lastScrollPosition = sortedMessageEventModel.mapFromSource(currentRoom.savedTopVisibleIndex()) var lastScrollPosition = sortedMessageEventModel.mapFromSource(currentRoom.savedTopVisibleIndex())
if (lastScrollPosition === 0) if (lastScrollPosition === 0)
messageListView.positionViewAtBeginning() messageListView.positionViewAtEnd()
else else
{ {
console.log("Scrolling to position", lastScrollPosition) console.log("Scrolling to position", lastScrollPosition)