mirror of
https://github.com/tulir/gomuks.git
synced 2025-04-20 10:33:41 -05:00
Fix reaction rendering in modern display mode
This commit is contained in:
parent
3b26a8fbd1
commit
04ceba153f
1 changed files with 2 additions and 2 deletions
|
@ -316,12 +316,12 @@ func (msg *UIMessage) DrawReactions(screen mauview.Screen, modernHeader bool) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
width, height := screen.Size()
|
||||||
diff := 1
|
diff := 1
|
||||||
if modernHeader {
|
if modernHeader && height == msg.Height(modernHeader) {
|
||||||
diff = 2
|
diff = 2
|
||||||
}
|
}
|
||||||
|
|
||||||
width, height := screen.Size()
|
|
||||||
screen = mauview.NewProxyScreen(screen, 0, height-diff, width, 1)
|
screen = mauview.NewProxyScreen(screen, 0, height-diff, width, 1)
|
||||||
|
|
||||||
x := 0
|
x := 0
|
||||||
|
|
Loading…
Add table
Reference in a new issue