mirror of
https://github.com/Trensa-Organization/hy3.git
synced 2025-03-15 18:53:40 +01:00
Fix mixed colors if a tab is both urgent and focused
This commit is contained in:
parent
1fa5ce199b
commit
7c29490cee
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue