diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-05 11:34:44 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-05 15:15:07 -0300 |
| commit | 2bd4066a932ec8fc401e4b85e9f8441b17df3cfb (patch) | |
| tree | 024f6180ed665fbe821e4a4a46e54551e6a0b31e /src/pardes.zig | |
| parent | 7ec1181244c039db72986eec46f21a9d5ac2e171 (diff) | |
| download | pardes-2bd4066a932ec8fc401e4b85e9f8441b17df3cfb.tar.gz pardes-2bd4066a932ec8fc401e4b85e9f8441b17df3cfb.zip | |
effects out, Lift and InactiveDim: the core's per-pane lift springs (Pardes.lifts, lift_serials, Region.lift, Chrome.lift_style) and the unfocused panes' recede (draw.zig's dim, its contrast memo and linear blend) go with the words, their settings and tests; the window loses its soft shadows (addSoft, the lift and rim casting, the shadow a sliding pane cast, the contrast ceilings, decor.frag's Gaussian path) and Chrome.sel_fg and sel_bg, which only the ceilings read; a pane closed mid-lift left its spring unsettled and continuous() true for ever, so a window could never go idle (monkey-gui failed `never settled` in the Lift combinations, and passes now); GUI golden 18-mid-transition changes, its sliding pane casting no shadow (the scene leaves with the transitions); root_ctl's out-of-range case is SearchRows', settings' GUI-only case GripWidth's, the window monkey loses its Lift axis
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'src/pardes.zig')
| -rw-r--r-- | src/pardes.zig | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/pardes.zig b/src/pardes.zig index 415424b3..79e288a3 100644 --- a/src/pardes.zig +++ b/src/pardes.zig @@ -3805,10 +3805,6 @@ pub const Pardes = struct { theme_file_generation: u32 = 0, theme_file_pane: u8 = 0, chrome_animation: colors.ChromeAnimation = colors.ChromeAnimation.init(colors.initial_chrome), - /// Each pane's lift off the page (Lift): 1 while it has the focus, on a - /// spring. `lift_serials` says whose it is, so a reused slot starts flat. - lifts: [MAX_PANES]animation.Spring = @splat(.{}), - lift_serials: [MAX_PANES]u32 = @splat(0), /// The focused cursor's quad on its springs (animation.CursorGlide), /// the pane and view origin it was last aimed in, and the last key or /// click, which a blink holds for. @@ -4043,7 +4039,7 @@ pub const Pardes = struct { pub const replica = .{ .local = .{ // A frame, and the animations and timings that make it. - "surface", "presentation", "frames", "chrome_animation", "lifts", "lift_serials", + "surface", "presentation", "frames", "chrome_animation", "cursor_glide", "cursor_view", "cursor_crossing", "cursor_held", "frame_arena", "scratch", "needs_frame", "present_skipped", "shell_continuous", "native_image_patches", "echo", @@ -7349,7 +7345,6 @@ pub const Pardes = struct { /// and its present (vsync) paces it, at the display's rate. `nextWake` /// is for the stepped animations, which count frames of `frame_ns`. pub fn continuous(p: *const Pardes) bool { - for (p.lifts) |spring| if (!spring.settled) return true; return p.cursor_glide.moving() or p.shell_continuous or panes.Pdf.moving(p); } |
