summaryrefslogtreecommitdiff
path: root/src/managers/animation/AnimationManager.cpp
diff options
context:
space:
mode:
author0xFMD <30713087+0xFMD@users.noreply.github.com>2025-09-06 20:24:17 +0300
committerGitHub <noreply@github.com>2025-09-06 19:24:17 +0200
commit56dd1124ab30dbc949b1f76e9dc6bbc9c74ef853 (patch)
treec368d20b9b04fa57e4a0fb6562f96e3166375b89 /src/managers/animation/AnimationManager.cpp
parent4e785d12a91117cd5b255052799d1a051d9976c0 (diff)
animation: fix slide/slidevert to accept params (#11574)
Diffstat (limited to 'src/managers/animation/AnimationManager.cpp')
-rw-r--r--src/managers/animation/AnimationManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/managers/animation/AnimationManager.cpp b/src/managers/animation/AnimationManager.cpp
index 6675216a..f38f4ccf 100644
--- a/src/managers/animation/AnimationManager.cpp
+++ b/src/managers/animation/AnimationManager.cpp
@@ -300,7 +300,7 @@ std::string CHyprAnimationManager::styleValidInConfigVar(const std::string& conf
} else if (config.starts_with("workspaces") || config.starts_with("specialWorkspace")) {
if (style == "slide" || style == "slidevert" || style == "fade")
return "";
- else if (style.starts_with("slidefade")) {
+ else if (style.starts_with("slide")) {
// try parsing
float movePerc = 0.f;
if (style.find('%') != std::string::npos) {