From eb230494a64c56604e34e1070d434d9326fd6485 Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Fri, 21 Sep 2018 12:06:27 +0300 Subject: [PATCH] Dont add scrollbar highlights in /mentions. --- src/widgets/helper/ChannelView.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/widgets/helper/ChannelView.cpp b/src/widgets/helper/ChannelView.cpp index b97558acb..6ba65b311 100644 --- a/src/widgets/helper/ChannelView.cpp +++ b/src/widgets/helper/ChannelView.cpp @@ -437,7 +437,9 @@ void ChannelView::setChannel(ChannelPtr newChannel) } } - this->scrollBar_->addHighlight(message->getScrollBarHighlight()); + if (this->channel_->getType() != Channel::Type::TwitchMentions) { + this->scrollBar_->addHighlight(message->getScrollBarHighlight()); + } this->messageWasAdded_ = true; this->layoutMessages();