summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/panes.zig3
-rw-r--r--test/pdf.zig3
2 files changed, 4 insertions, 2 deletions
diff --git a/test/panes.zig b/test/panes.zig
index d0551cfc..11fb750a 100644
--- a/test/panes.zig
+++ b/test/panes.zig
@@ -2,6 +2,7 @@ const std = @import("std");
const pardes = @import("pardes");
const panes = pardes.panes;
const layout = pardes.layout;
+const animation = pardes.animation;
const Pardes = pardes.Pardes;
const Pane = pardes.Pane;
const Key = pardes.Key;
@@ -70,7 +71,7 @@ const TagLayerTests = struct {
try std.testing.expectEqualStrings("body\n", pane.file.?.content);
p.update(.{ .key = .{ .cp = Key.escape } });
const rect = p.rects[0];
- const track: layout.Track = .{
+ const track: animation.Track = .{
.serial = pane.serial,
.pane = 0,
.effect = .zoom,
diff --git a/test/pdf.zig b/test/pdf.zig
index 3a592451..ed5d6908 100644
--- a/test/pdf.zig
+++ b/test/pdf.zig
@@ -7,6 +7,7 @@ const image = pardes.image;
const config = pardes.config;
const builtins = pardes.builtins;
const layout = pardes.layout;
+const animation = pardes.animation;
const dump = pardes.dump;
const Pardes = pardes.Pardes;
@@ -1399,7 +1400,7 @@ test "PDF tint and tinted theme changes rebuild every visible raster only" {
// Chrome animation reads a separate palette. Its ticks must never disturb
// the target-theme tint key or ask MuPDF for the same pixels again.
try std.testing.expect(p.animationActive());
- for (0..layout.Animation.transition_steps) |_| {
+ for (0..animation.Animation.transition_steps) |_| {
p.update(.tick);
_ = frame.reset(.retain_capacity);
const tick_surface = try p.render(frame.allocator());