diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-04 23:02:30 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-05 01:20:23 -0300 |
| commit | d2129a6e2c6348ee9630c5b5918fbcfadf4411fe (patch) | |
| tree | 0ee85d9856dc5720a6371da5645b63779835dcc8 /src/Layer.zig | |
| parent | 8b0b342f300c7ccf6b71994965cc03244545db04 (diff) | |
| download | pardes-d2129a6e2c6348ee9630c5b5918fbcfadf4411fe.tar.gz pardes-d2129a6e2c6348ee9630c5b5918fbcfadf4411fe.zip | |
drawing: dead code goes: colors.carryTheme and Motion.speed (no caller anywhere), animation.progress (only its own tests called it), Layer.pointAt (never called), Glide.kick (one caller, the line now), a stale first column header in the frame dump, panes.zig's unused vaxis import
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'src/Layer.zig')
| -rw-r--r-- | src/Layer.zig | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/Layer.zig b/src/Layer.zig index 609ddbc4..c43cab03 100644 --- a/src/Layer.zig +++ b/src/Layer.zig @@ -120,10 +120,6 @@ pub fn place(layer: *const Layer) Place { return .{ .viewport = layer.viewport, .cols = layer.cols, .rows = layer.rows, .context_rows = layer.context_rows }; } -fn pointAt(layer: *const Layer, x: f32, y: f32, body_w: f32, body_h: f32, tagline_w: f32, tagline_h: f32) ?Point { - return pointIn(layer.kind, layer.place(), x, y, body_w, body_h, tagline_w, tagline_h); -} - fn pointIn(kind: Kind, layer: Place, x: f32, y: f32, body_w: f32, body_h: f32, tagline_w: f32, tagline_h: f32) ?Point { if (layer.rows == 0 or !std.math.isFinite(x) or !std.math.isFinite(y)) return null; // A band's hit is refused outright on metrics no host could have; a |
