this repo has no description
13
fork

Configure Feed

Select the types of activity you want to include in your feed.

example(main): fix initChild call

+3 -1
+3 -1
examples/main.zig
··· 71 71 // fill the remaining space of the parent. Child windows do not store a 72 72 // reference to their parent: this is true immediate mode. Do not store 73 73 // windows, always create new windows each render cycle 74 - const child = win.initChild(win.width / 2 - msg.len / 2, win.height / 2, .expand, .expand); 74 + const child = win.child( 75 + .{ .x_off = win.width / 2 - msg.len / 2, .y_off = win.height / 2 }, 76 + ); 75 77 // Loop through the message and print the cells to the screen 76 78 for (msg, 0..) |_, i| { 77 79 const cell: Cell = .{