animation: fix slide/slidevert to accept params (#11574)
This commit is contained in:
parent
4e785d12a9
commit
56dd1124ab
2 changed files with 15 additions and 20 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue