mirror of
https://github.com/hyprwm/Hyprland
synced 2025-01-10 14:29:47 +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)
|
||||
return "invalid animation on/off state";
|
||||
|
||||
if (enabledInt) {
|
||||
int64_t speed = -1;
|
||||
|
||||
// speed
|
||||
|
@ -2084,7 +2083,6 @@ std::optional<std::string> CConfigManager::handleAnimation(const std::string& co
|
|||
if (ERR != "")
|
||||
return ERR;
|
||||
}
|
||||
}
|
||||
|
||||
return {};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue