layers: minor fixes for new animations

This commit is contained in:
Vaxry
2024-02-28 15:59:45 +00:00
parent 4bc669f933
commit 29cdd7de1f
2 changed files with 14 additions and 1 deletions

View File

@@ -54,7 +54,7 @@ void SLayerSurface::applyRules() {
xray = configStringToInt(vars[1]);
} catch (...) {}
} else if (rule.rule.starts_with("animation")) {
CVarList vars{rule.rule, 0, 's'};
CVarList vars{rule.rule, 2, 's'};
animationStyle = vars[1];
}
}