mirror of
https://github.com/tulir/gomuks.git
synced 2025-04-20 18:43:41 -05:00
Make topic bar two high in modern display mode
This commit is contained in:
parent
6d4d6b7d20
commit
80638d4a5b
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue