Update Window.zig

This commit is contained in:
terraquad 2024-06-15 11:47:52 +02:00 committed by Stephen Gutekanst
parent 8da44b719e
commit b0c1e2bc18

View file

@ -624,8 +624,8 @@ pub inline fn setSize(self: Window, size: Size) void {
/// A size with option width/height, used to represent e.g. constraints on a windows size while /// A size with option width/height, used to represent e.g. constraints on a windows size while
/// allowing specific axis to be unconstrained (null) if desired. /// allowing specific axis to be unconstrained (null) if desired.
pub const SizeOptional = struct { pub const SizeOptional = struct {
width: ?u32, width: ?u32 = null,
height: ?u32, height: ?u32 = null,
}; };
/// Sets the size limits of the specified window's content area. /// Sets the size limits of the specified window's content area.