Skip to content

Commit

Permalink
config: fix animations requiring all args
Browse files Browse the repository at this point in the history
fixes #9009
  • Loading branch information
vaxerski committed Jan 9, 2025
1 parent 85aba23 commit 9dc9366
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/config/ConfigManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9dc9366

Please sign in to comment.