mirror of
https://github.com/hyprwm/Hyprland
synced 2026-05-07 03:18:01 +02:00
config/lua: cannot disable animation (#14215)
* config/lua: cannot disable animation
seems regression from 9ee5ff1f71
* typing typo (auto generated by cmake)
This commit is contained in:
parent
2ff598896d
commit
d40860e8e2
2 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -142,9 +142,9 @@ static void handleUpdate(CAnimatedVariable<VarType>& av, bool warp) {
|
|||
const auto STEP = av.getCurveStep();
|
||||
|
||||
if constexpr (std::same_as<VarType, CHyprColor>)
|
||||
updateColorVariable(av, STEP.value, STEP.finished);
|
||||
updateColorVariable(av, STEP.value, STEP.finished || animationsDisabled);
|
||||
else
|
||||
updateVariable<VarType>(av, STEP.value, STEP.finished);
|
||||
updateVariable<VarType>(av, STEP.value, STEP.finished || animationsDisabled);
|
||||
|
||||
av.onUpdate();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue