Overhaul highlight system (#3399)

Checks have been moved into a Controller allowing for easier tests.
This commit is contained in:
pajlada
2022-06-05 17:40:57 +02:00
committed by GitHub
parent 6c38d3ecab
commit 7ccf60111d
20 changed files with 1112 additions and 240 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ bool ScrollbarHighlight::isFirstMessageHighlight() const
bool ScrollbarHighlight::isNull() const
{
return this->style_ == None;
return this->style_ == None || !this->color_;
}
} // namespace chatterino