diff --git a/src/main.zig b/src/main.zig index e0f7da7..a1e4ddb 100644 --- a/src/main.zig +++ b/src/main.zig @@ -238,9 +238,7 @@ pub fn main() !void { } if (image) |img| { - const scale = true; - const z_index = 0; - img.draw(right_bar, scale, z_index); + try img.draw(right_bar, .{ .scale = .fit }); } _ = try top_left_bar.print(&.{vaxis.Segment{ .text = try view.full_path(".") }}, .{});