Skip to content

Commit

Permalink
Update Window.zig
Browse files Browse the repository at this point in the history
  • Loading branch information
terraquad authored and emidoots committed Jun 15, 2024
1 parent 8da44b7 commit b0c1e2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Window.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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
/// allowing specific axis to be unconstrained (null) if desired.
pub const SizeOptional = struct {
width: ?u32,
height: ?u32,
width: ?u32 = null,
height: ?u32 = null,
};

/// Sets the size limits of the specified window's content area.
Expand Down

0 comments on commit b0c1e2b

Please sign in to comment.