···171171 },
172172 .btm => {
173173 if (key.matchesAny(&.{ vaxis.Key.up, 'k' }, .{}) and moving) active = .mid
174174- // Run Command and Clear Command Bar
174174+ // Run Command and Clear Command Bar
175175 else if (key.matchExact(vaxis.Key.enter, .{}) or key.matchExact('j', .{ .ctrl = true })) {
176176 const cmd = try cmd_input.toOwnedSlice();
177177 defer alloc.free(cmd);
+1-1
src/Image.zig
···121121 .rows = win.height,
122122 }
123123124124- // Does the image require horizontal scaling?
124124+ // Does the image require horizontal scaling?
125125 else if (!fit_x and fit_y)
126126 p_opts.size = .{
127127 .cols = win.width,
+6-6
src/vxfw/ScrollBars.zig
···489489 };
490490 const max_content_width_f: f32 =
491491 if (self.scroll_view.scroll.left + max.width > max_content_width)
492492- // If we've managed to overscroll horizontally for whatever reason - for example if the
493493- // content changes - we make sure the scroll thumb doesn't disappear by increasing the
494494- // max content width to match the current overscrolled position.
495495- @floatFromInt(self.scroll_view.scroll.left + max.width)
496496- else
497497- @floatFromInt(max_content_width);
492492+ // If we've managed to overscroll horizontally for whatever reason - for example if the
493493+ // content changes - we make sure the scroll thumb doesn't disappear by increasing the
494494+ // max content width to match the current overscrolled position.
495495+ @floatFromInt(self.scroll_view.scroll.left + max.width)
496496+ else
497497+ @floatFromInt(max_content_width);
498498499499 self.last_frame_max_content_width = max_content_width;
500500