mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-01 04:31:57 -07:00
@@ -2053,6 +2053,11 @@ 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) {
|
||||||
|
m_AnimationTree.setConfigForNode(ANIMNAME, enabledInt, 1, "default");
|
||||||
|
return {};
|
||||||
|
}
|
||||||
|
|
||||||
int64_t speed = -1;
|
int64_t speed = -1;
|
||||||
|
|
||||||
// speed
|
// speed
|
||||||
|
Reference in New Issue
Block a user