diff --git a/src/TabGroup.cpp b/src/TabGroup.cpp index 5da614f..30ce8a8 100644 --- a/src/TabGroup.cpp +++ b/src/TabGroup.cpp @@ -271,8 +271,6 @@ void Hy3TabBar::tick() { } if (this->entries.empty()) this->destroy = true; - - damage(); } void Hy3TabBar::damage() { @@ -463,6 +461,10 @@ void Hy3TabGroup::tick() { } else { if (this->bar.fade_opacity.goal() != 1.0) this->bar.fade_opacity = 1.0; } + + if (this->workspace->m_vRenderOffset.isBeingAnimated()) { + this->bar.damage(); + } } auto pos = this->pos.value();