From 4bf89fc4fe5aaf57d882e4bb30ee4888371490f3 Mon Sep 17 00:00:00 2001 From: Brook J Date: Fri, 24 May 2024 22:03:13 +1000 Subject: [PATCH] Updated libvaxis and fixed breaking changes --- src/main.zig | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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(".") }}, .{});