From e090c684afe6bb5e789f7eff4bb0c382688fcbfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Brandner?= Date: Tue, 11 Jun 2024 10:32:00 +0200 Subject: [PATCH] Fix tab bar fade visual defects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Šimon Brandner --- src/TabGroup.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/TabGroup.cpp b/src/TabGroup.cpp index f892a83..7627e68 100644 --- a/src/TabGroup.cpp +++ b/src/TabGroup.cpp @@ -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();