Skip to content

Commit

Permalink
tests: test animation presets
Browse files Browse the repository at this point in the history
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
  • Loading branch information
yshui committed Aug 5, 2024
1 parent 1f2633b commit 130066e
Showing 1 changed file with 26 additions and 2 deletions.
28 changes: 26 additions & 2 deletions tests/configs/parsing_test.conf
Original file line number Diff line number Diff line change
Expand Up @@ -427,9 +427,33 @@ window-shader-fg-rule =
animations = ({
triggers = ["close", "hide"];
offset-y = {
timing = "0.2s linear";
start = 0;
duration = 0.2;
end = "- window-height - window-y";
};
opacity = 1;
})
}, {
triggers = ["open"];
preset = "slide-in";
duration = 1;
}, {
triggers = ["open"];
preset = "slide-out";
duration = 1;
}, {
triggers = ["open"];
preset = "fly-in";
duration = 1;
}, {
triggers = ["open"];
preset = "fly-out";
duration = 1;
}, {
triggers = ["open"];
preset = "appear";
duration = 1;
}, {
triggers = ["open"];
preset = "disappear";
duration = 1;
});

0 comments on commit 130066e

Please sign in to comment.