diff --git a/imports/Spectral/Panel/RoomPanel.qml b/imports/Spectral/Panel/RoomPanel.qml index 3ea746442..e559b853c 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 d55d3955a..00c672532 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 5f2b4caa9..fa6bf46d7 160000 --- a/include/libqmatrixclient +++ b/include/libqmatrixclient @@ -1 +1 @@ -Subproject commit 5f2b4caa9b9cd63e1652d6550ceebecdb52df424 +Subproject commit fa6bf46d76a69b8f1b03145a5e3d643d541ce353