From 60527ab180fb3391fe9452c7dae4c2f8704df288 Mon Sep 17 00:00:00 2001 From: Alexander Seiler Date: Thu, 30 Mar 2023 00:44:25 +0200 Subject: Fix some typos (#1907) Signed-off-by: Alexander Seiler --- src/config/ConfigManager.cpp | 6 +++--- src/config/ConfigManager.hpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/config') 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 diff --git a/src/config/ConfigManager.hpp b/src/config/ConfigManager.hpp index e5a5749d..c554763f 100644 --- a/src/config/ConfigManager.hpp +++ b/src/config/ConfigManager.hpp @@ -53,7 +53,7 @@ struct SMonitorAdditionalReservedArea { }; struct SAnimationPropertyConfig { - bool overriden = true; + bool overridden = true; std::string internalBezier = ""; std::string internalStyle = ""; -- cgit v1.2.3