diff options
| author | Alexander Seiler <seileralex@gmail.com> | 2023-03-30 00:44:25 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-29 23:44:25 +0100 |
| commit | 60527ab180fb3391fe9452c7dae4c2f8704df288 (patch) | |
| tree | e3f575b1f836d8b497dd857c0270d94e1a8eb42d /src/config/ConfigManager.cpp | |
| parent | d6241a3086c4abfd21e91e23c83c97c3f80123d4 (diff) | |
Fix some typos (#1907)
Signed-off-by: Alexander Seiler <seileralex@gmail.com>
Diffstat (limited to 'src/config/ConfigManager.cpp')
| -rw-r--r-- | src/config/ConfigManager.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp index 2283b61c..2b0e1da0 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -611,8 +611,8 @@ void CConfigManager::handleBezier(const std::string& command, const std::string& void CConfigManager::setAnimForChildren(SAnimationPropertyConfig* const ANIM) { for (auto& [name, anim] : animationConfig) { - if (anim.pParentAnimation == ANIM && !anim.overriden) { - // if a child isnt overriden, set the values of the parent + if (anim.pParentAnimation == ANIM && !anim.overridden) { + // if a child isnt overridden, set the values of the parent anim.pValues = ANIM->pValues; setAnimForChildren(&anim); @@ -635,7 +635,7 @@ void CConfigManager::handleAnimation(const std::string& command, const std::stri return; } - PANIM->second.overriden = true; + PANIM->second.overridden = true; PANIM->second.pValues = &PANIM->second; // on/off |
