mirror of
https://github.com/hyprwm/Hyprland
synced 2025-01-10 17:09:49 +01:00
config: update animation even if disabled
This commit is contained in:
parent
830350a1f7
commit
c143907857
1 changed files with 21 additions and 23 deletions
|
@ -2053,7 +2053,6 @@ std::optional<std::string> CConfigManager::handleAnimation(const std::string& co
|
||||||
if (enabledInt != 0 && enabledInt != 1)
|
if (enabledInt != 0 && enabledInt != 1)
|
||||||
return "invalid animation on/off state";
|
return "invalid animation on/off state";
|
||||||
|
|
||||||
if (enabledInt) {
|
|
||||||
int64_t speed = -1;
|
int64_t speed = -1;
|
||||||
|
|
||||||
// speed
|
// speed
|
||||||
|
@ -2084,7 +2083,6 @@ std::optional<std::string> CConfigManager::handleAnimation(const std::string& co
|
||||||
if (ERR != "")
|
if (ERR != "")
|
||||||
return ERR;
|
return ERR;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue