From dd208ff366a90e8ec04090220da63cc78983dbf0 Mon Sep 17 00:00:00 2001 From: Yuxuan Shui Date: Mon, 5 Aug 2024 19:36:56 +0100 Subject: [PATCH] tests: test animation presets Signed-off-by: Yuxuan Shui --- tests/configs/parsing_test.conf | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/tests/configs/parsing_test.conf b/tests/configs/parsing_test.conf index f27cd9aa..be05d00b 100644 --- a/tests/configs/parsing_test.conf +++ b/tests/configs/parsing_test.conf @@ -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; +});