summaryrefslogtreecommitdiff
path: root/src/pardes.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/pardes.zig')
-rw-r--r--src/pardes.zig7
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);
}