From e902ad6d821652c7c745d4c8b123e4f1f9eb02a5 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Tue, 4 Jan 2022 17:11:30 +0100 Subject: [PATCH] fix: add haveTransform function --- sonic-radiance.love/birb/modules/gui/elements/parent.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sonic-radiance.love/birb/modules/gui/elements/parent.lua b/sonic-radiance.love/birb/modules/gui/elements/parent.lua index 2b202a6..aa73138 100644 --- a/sonic-radiance.love/birb/modules/gui/elements/parent.lua +++ b/sonic-radiance.love/birb/modules/gui/elements/parent.lua @@ -76,6 +76,10 @@ function GuiElement:setSubFocus() -- Useless for basic element end +function GuiElement:isTransforming() + return self.tweens:haveTween() +end + -- UPDATE FUNCTIONS -- Update the menu every game update