Dont add scrollbar highlights in /mentions.

This commit is contained in:
23rd 2018-09-21 12:06:27 +03:00 committed by pajlada
parent d751d1939e
commit eb230494a6

View file

@ -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();