Fix tab bar fade visual defects

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2024-06-11 10:32:00 +02:00
parent 5693ea2554
commit e090c684af
No known key found for this signature in database
GPG key ID: BB126BDA1FFBF42B

View file

@ -482,6 +482,12 @@ void Hy3TabGroup::tick() {
this->bar.damaged = true;
this->last_workspace_offset = workspaceOffset;
}
if (this->workspace->m_fAlpha.isBeingAnimated()) {
auto pos = this->pos.value();
auto size = this->size.value();
damageBox(&pos, &size);
}
}
auto pos = this->pos.value();