From 80638d4a5b5e9f2368f02f6d6d40f2975207067a Mon Sep 17 00:00:00 2001 From: FIGBERT Date: Tue, 7 Mar 2023 22:54:06 -0800 Subject: [PATCH] Make topic bar two high in modern display mode --- ui/room-view.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ui/room-view.go b/ui/room-view.go index 0f86258..372ed40 100644 --- a/ui/room-view.go +++ b/ui/room-view.go @@ -304,6 +304,12 @@ func (view *RoomView) Draw(screen mauview.Screen) { contentWidth = width } + if view.config.Preferences.DisplayMode == config.DisplayModeModern { + view.topicScreen.Height = 2 + view.contentScreen.OffsetY = 2 + contentHeight -= 1 + } + view.topicScreen.Width = width view.contentScreen.Width = contentWidth view.contentScreen.Height = contentHeight