mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Highlight bug fix
This commit is contained in:
parent
88d8bf7cec
commit
5078ecbef1
1 changed files with 5 additions and 0 deletions
|
@ -582,6 +582,11 @@ void ChannelView::setChannel(ChannelPtr channel)
|
|||
this->lastMessageHasAlternateBackground_ =
|
||||
!this->lastMessageHasAlternateBackground_;
|
||||
|
||||
if (channel->shouldIgnoreHighlights())
|
||||
{
|
||||
messageLayout->flags.set(MessageLayoutFlag::IgnoreHighlights);
|
||||
}
|
||||
|
||||
this->messages_.pushBack(MessageLayoutPtr(messageLayout), deleted);
|
||||
this->scrollBar_->addHighlight(snapshot[i]->getScrollBarHighlight());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue