diff --git a/meta/hl.meta.lua b/meta/hl.meta.lua index 64f49b2ae..038c066b7 100644 --- a/meta/hl.meta.lua +++ b/meta/hl.meta.lua @@ -676,7 +676,7 @@ local __HL_Notification = {} local __HL_Timer = {} ---@class HL.Window ----@field acceptsInput boolean +---@field accepts_input boolean ---@field active boolean|nil ---@field address string ---@field at integer|table diff --git a/src/managers/animation/AnimationManager.cpp b/src/managers/animation/AnimationManager.cpp index c5c3ca542..76a124656 100644 --- a/src/managers/animation/AnimationManager.cpp +++ b/src/managers/animation/AnimationManager.cpp @@ -142,9 +142,9 @@ static void handleUpdate(CAnimatedVariable& av, bool warp) { const auto STEP = av.getCurveStep(); if constexpr (std::same_as) - updateColorVariable(av, STEP.value, STEP.finished); + updateColorVariable(av, STEP.value, STEP.finished || animationsDisabled); else - updateVariable(av, STEP.value, STEP.finished); + updateVariable(av, STEP.value, STEP.finished || animationsDisabled); av.onUpdate(); }