Implement column movement animation

This commit is contained in:
Ivan Molodetskikh
2024-04-08 18:23:18 +04:00
parent ec0531264e
commit c1432bfa96
3 changed files with 92 additions and 4 deletions
+19
View File
@@ -24,6 +24,10 @@ animations {
spring damping-ratio=1.0 stiffness=800 epsilon=0.0001
}
window-movement {
spring damping-ratio=1.0 stiffness=800 epsilon=0.0001
}
window-open {
duration-ms 150
curve "ease-out-expo"
@@ -131,6 +135,21 @@ animations {
}
```
#### `window-movement`
Window movement animations, currently cover only horizontal column movement.
This animation runs on actions like `move-column-left` and `move-column-right` to move the windows themselves.
It can sometimes run together with the `horizontal-view-movement` animation, if the camera also moves.
```
animations {
window-movement {
spring damping-ratio=1.0 stiffness=800 epsilon=0.0001
}
}
```
#### `window-open`
Window opening animation.