Make topic bar two high in modern display mode

This commit is contained in:
FIGBERT 2023-03-07 22:54:06 -08:00
parent 6d4d6b7d20
commit 80638d4a5b
No known key found for this signature in database
GPG key ID: 67F1598D607A844B

View file

@ -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