From e9a57f0dae1dfa02240040f5975d048175440c2c Mon Sep 17 00:00:00 2001 From: Maximilian Seidler <78690852+PaideiaDilemma@users.noreply.github.com> Date: Thu, 7 Mar 2024 22:32:32 +0100 Subject: [PATCH] label: fix rendering with multiple timers that fire at the same time (#147) --- src/renderer/widgets/Label.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/widgets/Label.cpp b/src/renderer/widgets/Label.cpp index 4596a26..3866103 100644 --- a/src/renderer/widgets/Label.cpp +++ b/src/renderer/widgets/Label.cpp @@ -118,7 +118,7 @@ bool CLabel::draw(const SRenderData& data) { shadow.draw(data); g_pRenderer->renderTexture(box, asset->texture, data.opacity); - return false; + return !pendingResourceID.empty(); } void CLabel::renderSuper() {