fix: home menu length

This commit is contained in:
CJ van den Berg 2025-08-13 12:54:00 +02:00
parent 21f7b14970
commit fbc49c3dab
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9

View file

@ -329,7 +329,7 @@ pub fn render(self: *Self, theme: *const Widget.Theme) bool {
fn position_menu(self: *Self, y: usize, x: usize) void {
const box = Widget.Box.from(self.plane);
self.menu.resize(.{ .y = box.y + y, .x = box.x + x, .w = self.menu_w });
self.menu.resize(.{ .y = box.y + y, .x = box.x + x, .w = self.menu_w, .h = self.menu_len });
}
fn center(self: *Self, non_centered: usize, w: usize) usize {