From bf20b7864d9234e9f4079f145ad0393ce36f5e19 Mon Sep 17 00:00:00 2001 From: miruka Date: Fri, 1 May 2020 01:22:08 -0400 Subject: [PATCH] Fix compact mode with new pane --- TODO.md | 2 +- src/gui/MainPane/Account.qml | 1 + src/gui/MainPane/AccountsBar.qml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/TODO.md b/TODO.md index 94a04b6a..a6561c18 100644 --- a/TODO.md +++ b/TODO.md @@ -4,9 +4,9 @@ - add account number binds - rename goto*account → scrollto*account +- fix interrupted transitions - fix back/front buttons in small window - fix message delegate too tall -- fix compact mode - fix left rooms opacity - fix escape keybinds (filter rooms, message selection) diff --git a/src/gui/MainPane/Account.qml b/src/gui/MainPane/Account.qml index 1edb494d..8d0924b8 100644 --- a/src/gui/MainPane/Account.qml +++ b/src/gui/MainPane/Account.qml @@ -21,6 +21,7 @@ HTile { displayName: accountModel.display_name mxc: accountModel.avatar_url radius: 0 + compact: account.compact } TitleLabel { diff --git a/src/gui/MainPane/AccountsBar.qml b/src/gui/MainPane/AccountsBar.qml index 5d6a68ff..a96f8513 100644 --- a/src/gui/MainPane/AccountsBar.qml +++ b/src/gui/MainPane/AccountsBar.qml @@ -75,7 +75,7 @@ HColumnLayout { userId: model.id displayName: model.display_name mxc: model.avatar_url - // compact: account.compact + // compact: tile.compact radius: theme.accountsBar.accountList.account.avatarRadius }