Fix scrollbar highlight colors when changing message history limit (#4288)

* Use correct messagesLimit for Scrollbar

* Update CHANGELOG.md

Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
This commit is contained in:
Daniel Sage
2023-01-07 06:41:52 -05:00
committed by GitHub
parent 95b1f82620
commit e19cd1911b
4 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -147,7 +147,7 @@ ChannelView::ChannelView(BaseWidget *parent, Split *split, Context context,
size_t messagesLimit)
: BaseWidget(parent)
, split_(split)
, scrollBar_(new Scrollbar(this))
, scrollBar_(new Scrollbar(messagesLimit, this))
, highlightAnimation_(this)
, context_(context)
, messages_(messagesLimit)