Update Window.zig
This commit is contained in:
parent
8da44b719e
commit
b0c1e2bc18
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||||
|
|
Loading…
Add table
Reference in a new issue