summaryrefslogtreecommitdiff
path: root/src/pardes.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-24 15:23:45 -0300
committerGabriel Schneider <[email protected]>2026-10-24 21:00:32 -0300
commita9e33e52d789c7433da1da17a8c82093c9114243 (patch)
tree0fb83bc2be369b5a36c86ce8173fb9114503528b /src/pardes.zig
parente28b0992e9cd8dcedea5ed435566277ee6a93d5b (diff)
downloadpardes-a9e33e52d789c7433da1da17a8c82093c9114243.tar.gz
pardes-a9e33e52d789c7433da1da17a8c82093c9114243.zip
anim 7: what the probe found: the paced wait spins (asleep, the CPU's clock fell and an input's frame took 2-5x as long), a glide measures the core's line count first and emits only the rows it shows, a far jump paints only its view, a long line 16 KB round the caret, the caret's sideways scroll measured from the view's edge, a paint never joined on the loop nor asked while the view stands still, rewritten generated panes do not glide, pictures decode off the loop
Diffstat (limited to 'src/pardes.zig')
-rw-r--r--src/pardes.zig4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pardes.zig b/src/pardes.zig
index 9177721f..0f3f87f2 100644
--- a/src/pardes.zig
+++ b/src/pardes.zig
@@ -7696,8 +7696,10 @@ pub const Pardes = struct {
// seen are stamped 0, which `advance` would count back from).
if (p.fs.batch.bytes.items.len > 0) return @max(next, p.fs.batch.last_ns + ctlfs.pane.batch_pause_ns);
if (p.chrome_animation.isActive() or p.presentation.animating()) return next;
- // Places still to find resume on the next frame.
+ // Places still to find resume on the next frame; a picture being
+ // decoded is looked for.
for (p.panes) |slot| if (slot) |pane| if (pane.places.busy(pane)) return next;
+ for (p.panes) |slot| if (slot) |pane| if (pane.image) |iv| if (iv.decoder != null) return next;
// A markdown text's tables still being read from the top (Tables.zig).
for (p.panes) |slot| if (slot) |pane| if (pane.file) |f| if (f.tables.busy()) return next;
if (panes.Query.busy(p)) return next;