From 32d56fec977b109aeecb06288a1b45cfe6b83117 Mon Sep 17 00:00:00 2001 From: ozwaldorf Date: Wed, 1 Feb 2023 16:06:01 -0500 Subject: feat: border angle animations (#1469) Co-authored-by: vaxerski <43317083+vaxerski@users.noreply.github.com> --- src/managers/AnimationManager.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/managers/AnimationManager.cpp') diff --git a/src/managers/AnimationManager.cpp b/src/managers/AnimationManager.cpp index 354d88d2..30c77ddd 100644 --- a/src/managers/AnimationManager.cpp +++ b/src/managers/AnimationManager.cpp @@ -453,6 +453,10 @@ std::string CAnimationManager::styleValidInConfigVar(const std::string& config, return ""; return "unknown style"; + } else if (config == "borderangle") { + if (style == "loop" || style == "once") + return ""; + return "unknown style"; } else { return "animation has no styles"; } -- cgit v1.2.3