summaryrefslogtreecommitdiff
path: root/src/pardes.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/pardes.zig')
-rw-r--r--src/pardes.zig2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pardes.zig b/src/pardes.zig
index a1d1eef8..26b167d5 100644
--- a/src/pardes.zig
+++ b/src/pardes.zig
@@ -7704,6 +7704,8 @@ pub const Pardes = struct {
// 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 PDF page being rendered on a lane lands on the frame after it is done.
+ if (comptime pdf_enabled) for (p.panes) |slot| if (slot) |pane| if (pane.pdf) |*st| if (panes.Pdf.rendering(st)) 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;