Animate tab and pane transitions with Neovide window easing
This commit is contained in:
@@ -27,3 +27,11 @@ reused at the author's explicit request:
|
||||
|
||||
It holds at full opacity for 500 ms after input, fades out with a 500 ms cubic
|
||||
ease-out curve, then returns to full opacity for 500 ms. It does not fade in.
|
||||
|
||||
## Neovide view transitions
|
||||
|
||||
`src/transition.rs` adapts Neovide's `ease_out_expo` window-position curve
|
||||
from `src/renderer/animation_utils.rs`, used by `rendered_window.rs` with
|
||||
`position_animation_length = 0.15` in `renderer/mod.rs`. This is the same
|
||||
Neovide revision and MIT license recorded above. Horizontal tab and pane
|
||||
transitions use this curve; text scrolling has a separate spring in Neovide.
|
||||
|
||||
Reference in New Issue
Block a user