From 210d5e90fe00ae9add5d841e1752b7f8c4a639a7 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Fri, 22 Aug 2025 08:50:52 +0300 Subject: exit_confirm_dialog: Add open/close animation --- docs/wiki/Configuration:-Animations.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'docs') diff --git a/docs/wiki/Configuration:-Animations.md b/docs/wiki/Configuration:-Animations.md index 2400f568..0012aa83 100644 --- a/docs/wiki/Configuration:-Animations.md +++ b/docs/wiki/Configuration:-Animations.md @@ -46,6 +46,10 @@ animations { spring damping-ratio=0.6 stiffness=1000 epsilon=0.001 } + exit-confirmation-open-close { + spring damping-ratio=0.6 stiffness=500 epsilon=0.01 + } + screenshot-ui-open { duration-ms 200 curve "ease-out-quad" @@ -363,6 +367,22 @@ animations { } ``` +#### `exit-confirmation-open-close` + +Since: next release + +The open/close animation of the exit confirmation dialog. + +This one uses an underdamped spring by default (`damping-ratio=0.6`) which causes a slight oscillation in the end. + +```kdl +animations { + exit-confirmation-open-close { + spring damping-ratio=0.6 stiffness=500 epsilon=0.01 + } +} +``` + #### `screenshot-ui-open` Since: 0.1.8 -- cgit