this repo has no description
13
fork

Configure Feed

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

remove anonymous structs

authored by

Adrià Arrufat and committed by
Tim Culverhouse
b9fc10f9 9d01c62e

+3 -3
+1 -1
src/vxfw/FlexColumn.zig
··· 84 84 second_pass_height += surf.size.height; 85 85 } 86 86 87 - const size = .{ .width = max_width, .height = second_pass_height }; 87 + const size: vxfw.Size = .{ .width = max_width, .height = second_pass_height }; 88 88 return .{ 89 89 .size = size, 90 90 .widget = self.widget(),
+1 -1
src/vxfw/FlexRow.zig
··· 82 82 max_height = @max(max_height, surf.size.height); 83 83 second_pass_width += surf.size.width; 84 84 } 85 - const size = .{ .width = second_pass_width, .height = max_height }; 85 + const size: vxfw.Size = .{ .width = second_pass_width, .height = max_height }; 86 86 return .{ 87 87 .size = size, 88 88 .widget = self.widget(),
+1 -1
src/vxfw/Padding.zig
··· 86 86 .origin = .{ .row = pad.top, .col = pad.left }, 87 87 }; 88 88 89 - const size = .{ 89 + const size: vxfw.Size = .{ 90 90 .width = child_surface.size.width + (pad.right + pad.left), 91 91 .height = child_surface.size.height + (pad.top + pad.bottom), 92 92 };