summaryrefslogtreecommitdiff
path: root/src/config.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-29 07:11:01 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:16 -0300
commitdd586f1d8937f67e95504da167216d5413f05262 (patch)
treed9e9ee58ae81017741a6bfcc5e164cb89f28e8f3 /src/config.zig
parentc1dbb16d069a54f52533f346655b0fc49026c9a4 (diff)
downloadpardes-dd586f1d8937f67e95504da167216d5413f05262.tar.gz
pardes-dd586f1d8937f67e95504da167216d5413f05262.zip
G8: a notice leaves quicker than it arrives
The notice chip's motion was mostly there (a drop easing out on the Motion flavour, a dissolve easing in, Lift's shadow in tier 4 at its fade). Its dissolve took 300 ms against a 180 ms fall, the wrong way round for §8.1 (leaving quicker than arriving, 100 to 160 ms): MessageDissolve now defaults to 150. The field comments had the two easings swapped; the stack test pins a longer dissolve for the case it checks. docs/config.md and docs/effects.md say so. Tests: both timings in their bands, leaving quicker. Gates as G7 (no golden moved). Feel review: .scratch/render/notices/.
Diffstat (limited to 'src/config.zig')
-rw-r--r--src/config.zig8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/config.zig b/src/config.zig
index 43d2cfda..5734cd0c 100644
--- a/src/config.zig
+++ b/src/config.zig
@@ -658,10 +658,12 @@ pub const Runtime = struct {
cursor_blink: bool = true,
/// How long a message stays after the key or click that dismisses it.
message_linger_ms: u16 = 800,
- /// How long its ease-in fall into the row takes.
+ /// How long its fall into the row takes, easing out (§8.1: arriving,
+ /// 150 to 220 ms).
message_fall_ms: u16 = 180,
- /// How long its ease-out dissolve takes.
- message_dissolve_ms: u16 = 300,
+ /// How long its dissolve takes, easing in: leaving is quicker than
+ /// arriving (§8.1: 100 to 160 ms).
+ message_dissolve_ms: u16 = 150,
/// Where Dump writes and a relative Restore looks; empty is the default
/// ($XDG_DATA_HOME/pardes, else ~/.local/share/pardes).
dump_dir: Text(limits.host_path_cap) = .{},