From 4f95e1d927235966c7698735f99a7a585c7cd616 Mon Sep 17 00:00:00 2001 From: Black Hat Date: Mon, 8 Oct 2018 20:51:00 +0800 Subject: [PATCH] Update libqmatrixclient. --- imports/Spectral/Panel/RoomPanel.qml | 6 +----- imports/Spectral/Panel/RoomPanelForm.ui.qml | 10 +++++----- include/libqmatrixclient | 2 +- 3 files changed, 7 insertions(+), 11 deletions(-) diff --git a/imports/Spectral/Panel/RoomPanel.qml b/imports/Spectral/Panel/RoomPanel.qml index 3ea7464..e559b85 100644 --- a/imports/Spectral/Panel/RoomPanel.qml +++ b/imports/Spectral/Panel/RoomPanel.qml @@ -44,11 +44,7 @@ RoomPanelForm { } } - goTopFab { - onClicked: messageListView.positionViewAtBeginning() - - Behavior on opacity { NumberAnimation { duration: 200 } } - } + goTopFab.onClicked: messageListView.positionViewAtBeginning() uploadButton.onClicked: currentRoom.chooseAndUploadFile() diff --git a/imports/Spectral/Panel/RoomPanelForm.ui.qml b/imports/Spectral/Panel/RoomPanelForm.ui.qml index d55d395..00c6725 100644 --- a/imports/Spectral/Panel/RoomPanelForm.ui.qml +++ b/imports/Spectral/Panel/RoomPanelForm.ui.qml @@ -159,13 +159,12 @@ Item { RoundButton { width: 64 height: 64 + anchors.right: parent.right + anchors.bottom: parent.bottom id: goTopFab - visible: !(parent.atYEnd || messageListView.moving) - - anchors.right: parent.right - anchors.bottom: parent.bottom + visible: !(messageListView.atYEnd || messageListView.moving) contentItem: MaterialIcon { anchors.fill: parent @@ -258,7 +257,8 @@ Item { } } - ScrollBar.vertical: ScrollBar {} + ScrollBar.vertical: ScrollBar { + } } } } diff --git a/include/libqmatrixclient b/include/libqmatrixclient index 5f2b4ca..fa6bf46 160000 --- a/include/libqmatrixclient +++ b/include/libqmatrixclient @@ -1 +1 @@ -Subproject commit 5f2b4caa9b9cd63e1652d6550ceebecdb52df424 +Subproject commit fa6bf46d76a69b8f1b03145a5e3d643d541ce353