File tree Expand file tree Collapse file tree 1 file changed +33
-3
lines changed
Expand file tree Collapse file tree 1 file changed +33
-3
lines changed Original file line number Diff line number Diff line change @@ -231,10 +231,40 @@ wintypes:
231231
232232animations = (
233233 {
234- triggers = ["geometry "];
234+ triggers = ["position "];
235235 preset = "geometry-change";
236- duration = 0.15;
237- }
236+ duration = 0.2;
237+ },
238+ {
239+ triggers = ["size"]
240+ scale-x = {
241+ curve = "cubic-bezier(0.175, 0.885, 0.32, 1.275)";
242+ start = "window-width-before / window-width";
243+ end = 1;
244+ duration = 0.2
245+ };
246+ scale-y = {
247+ curve = "cubic-bezier(0.175, 0.885, 0.32, 1.275)";
248+ start = "window-height-before / window-height";
249+ end = 1;
250+ duration = 0.2
251+ };
252+ offset-x = {
253+ curve = "cubic-bezier(0.175, 0.885, 0.32, 1.275)";
254+ start = "window-x-before - window-x";
255+ duration = 0.2
256+ end = 0;
257+ };
258+ offset-y = {
259+ curve = "cubic-bezier(0.175, 0.885, 0.32, 1.2)";
260+ start = "window-y-before - window-y";
261+ duration = 0.2
262+ end = 0;
263+ };
264+
265+ shadow-scale-y = "scale-y";
266+ shadow-scale-x = "scale-x";
267+ },
238268)
239269
240270######################
You can’t perform that action at this time.
0 commit comments