Fix Chat loading spinner position

This commit is contained in:
miruka
2019-12-09 14:22:39 -04:00
parent bd8bf6120e
commit 852b5818a2
2 changed files with 3 additions and 1 deletions

View File

@@ -22,6 +22,7 @@ Item {
modelSources[["Room", userId]] || [], "room_id", roomId
) || "waiting"
readonly property alias loader: loader
readonly property alias roomSidePane: roomSidePane
@@ -41,7 +42,7 @@ Item {
HLoader {
id: loader
anchors.rightMargin: roomSidePane.visibleWidth
anchors.rightMargin: roomSidePane.visibleSize
anchors.fill: parent
visible: ! roomSidePane.hidden || anchors.rightMargin < width
onLoaded: if (chat.focus) item.composer.takeFocus()