aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'widgets')
-rw-r--r--widgets/msglist.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/widgets/msglist.go b/widgets/msglist.go
index 8263b945..a334d0d4 100644
--- a/widgets/msglist.go
+++ b/widgets/msglist.go
@@ -81,6 +81,8 @@ func (ml *MessageList) Draw(ctx *ui.Context) {
}
}
+ store.UpdateScroll(ml.Scroll(), ml.height)
+
textWidth := ctx.Width()
if ml.NeedScrollbar() {
textWidth -= 1