Skip to content

Commit dd208ff

Browse files
committed
tests: test animation presets
Signed-off-by: Yuxuan Shui <[email protected]>
1 parent d04f825 commit dd208ff

File tree

1 file changed

+26
-2
lines changed

1 file changed

+26
-2
lines changed

tests/configs/parsing_test.conf

+26-2
Original file line numberDiff line numberDiff line change
@@ -427,9 +427,33 @@ window-shader-fg-rule =
427427
animations = ({
428428
triggers = ["close", "hide"];
429429
offset-y = {
430-
timing = "0.2s linear";
431430
start = 0;
431+
duration = 0.2;
432432
end = "- window-height - window-y";
433433
};
434434
opacity = 1;
435-
})
435+
}, {
436+
triggers = ["open"];
437+
preset = "slide-in";
438+
duration = 1;
439+
}, {
440+
triggers = ["open"];
441+
preset = "slide-out";
442+
duration = 1;
443+
}, {
444+
triggers = ["open"];
445+
preset = "fly-in";
446+
duration = 1;
447+
}, {
448+
triggers = ["open"];
449+
preset = "fly-out";
450+
duration = 1;
451+
}, {
452+
triggers = ["open"];
453+
preset = "appear";
454+
duration = 1;
455+
}, {
456+
triggers = ["open"];
457+
preset = "disappear";
458+
duration = 1;
459+
});

0 commit comments

Comments
 (0)