Add animation style toggle
This commit is contained in:
parent
02222d5189
commit
e7f9a5cb09
15 changed files with 238 additions and 20 deletions
|
|
@ -6,11 +6,11 @@ be handled deliberately.
|
|||
|
||||
## Accepted Decisions
|
||||
|
||||
- The first landed slice is linear interpolation only, disabled by default.
|
||||
- The first landed slice is plain interpolation only, disabled by default.
|
||||
- Animation is presentation-only. Logical layout, input hit testing, focus, and
|
||||
Wayland configure state use final geometry immediately.
|
||||
- Pointer drag and resize initiated by the mouse or tablet do not animate.
|
||||
- Linear animations restart only for windows whose destination changes. Other
|
||||
- Plain animations restart only for windows whose destination changes. Other
|
||||
in-flight windows keep their existing timelines.
|
||||
- Spawn-in uses scale and position for newly mapped tiled and floating app
|
||||
windows. Layer-shell, overlay, override-redirect, and fullscreen surfaces do
|
||||
|
|
@ -19,7 +19,7 @@ be handled deliberately.
|
|||
destroy.
|
||||
- Command-driven tile-to-float and float-to-tile transitions may animate.
|
||||
Protocol drag/drop paths do not.
|
||||
- The no-overlap multiphase system is a separate phase after the linear path is
|
||||
- The no-overlap multiphase system is a separate phase after the plain path is
|
||||
working and testable.
|
||||
- Content freezing will use retained per-surface texture references, not a full
|
||||
offscreen snapshot as the default design.
|
||||
|
|
@ -34,7 +34,7 @@ be handled deliberately.
|
|||
below roughly one quarter of the relevant full size. The implementation may
|
||||
enforce a conservative sanity minimum, and pathological cases may fall back.
|
||||
- If the no-overlap planner cannot produce a legal sequence, only the affected
|
||||
group should fall back to linear animation. This is expected to be rare for
|
||||
group should fall back to plain animation. This is expected to be rare for
|
||||
valid tiling layouts.
|
||||
- When entering mono mode, the active child should animate to the mono geometry.
|
||||
Inactive siblings may snap invisible. Floats may overlap normally and do not
|
||||
|
|
@ -285,6 +285,7 @@ Phase 1 should expose a disabled-by-default setting for:
|
|||
|
||||
- enabled/disabled
|
||||
- duration
|
||||
- style: `plain` or `multiphase`
|
||||
- curve preset or cubic bezier
|
||||
|
||||
Initial TOML shape:
|
||||
|
|
@ -293,6 +294,7 @@ Initial TOML shape:
|
|||
[animations]
|
||||
enabled = false
|
||||
duration-ms = 160
|
||||
style = "multiphase"
|
||||
curve = "ease-out"
|
||||
# or:
|
||||
curve = [0.25, 0.1, 0.25, 1.0]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue