From 56dd1124ab30dbc949b1f76e9dc6bbc9c74ef853 Mon Sep 17 00:00:00 2001 From: 0xFMD <30713087+0xFMD@users.noreply.github.com> Date: Sat, 6 Sep 2025 20:24:17 +0300 Subject: animation: fix slide/slidevert to accept params (#11574) --- src/managers/animation/AnimationManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/managers/animation/AnimationManager.cpp') 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) { -- cgit v1.2.3