Fix mixed colors if a tab is both urgent and focused

This commit is contained in:
outfoxxed 2023-06-09 01:26:32 -07:00
parent 1fa5ce199b
commit 7c29490cee
No known key found for this signature in database
GPG key ID: 4C88A185FB89301E

View file

@ -95,6 +95,7 @@ void Hy3TabBarEntry::setFocused(bool focused) {
}
void Hy3TabBarEntry::setUrgent(bool urgent) {
if (urgent && this->focused.goalf() == 1.0) urgent = false;
if (this->urgent.goalf() != urgent) {
this->urgent = urgent;
}