mirror of
https://github.com/hyprwm/Hyprland
synced 2025-01-10 13:29:50 +01:00
parent
85aba23cbe
commit
9dc9366fc6
1 changed files with 5 additions and 0 deletions
|
@ -2053,6 +2053,11 @@ std::optional<std::string> CConfigManager::handleAnimation(const std::string& co
|
|||
if (enabledInt != 0 && enabledInt != 1)
|
||||
return "invalid animation on/off state";
|
||||
|
||||
if (!enabledInt) {
|
||||
m_AnimationTree.setConfigForNode(ANIMNAME, enabledInt, 1, "default");
|
||||
return {};
|
||||
}
|
||||
|
||||
int64_t speed = -1;
|
||||
|
||||
// speed
|
||||
|
|
Loading…
Reference in a new issue