diff options
| author | ozwaldorf <self@ossian.dev> | 2023-02-01 16:06:01 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-01 21:06:01 +0000 |
| commit | 32d56fec977b109aeecb06288a1b45cfe6b83117 (patch) | |
| tree | 3ac9a6c1f096277cab5675fe47658b6317b45947 /src/managers/AnimationManager.cpp | |
| parent | 1a41f729a38a57c7e925237efdeeaad1df14020e (diff) | |
feat: border angle animations (#1469)
Co-authored-by: vaxerski <43317083+vaxerski@users.noreply.github.com>
Diffstat (limited to 'src/managers/AnimationManager.cpp')
| -rw-r--r-- | src/managers/AnimationManager.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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"; } |
