mach: make default minimum window size 350x350
This commit is contained in:
parent
a873227ab8
commit
38c4fc5b01
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ pub const Options = struct {
|
||||||
/// The minimum allowed size for the window. On Linux, if we don't set a minimum size,
|
/// The minimum allowed size for the window. On Linux, if we don't set a minimum size,
|
||||||
/// you can squish the window to 0 width and height with strange effects, so it's better to leave
|
/// you can squish the window to 0 width and height with strange effects, so it's better to leave
|
||||||
/// a minimum size to avoid that. This doesn't prevent you from minimizing the window.
|
/// a minimum size to avoid that. This doesn't prevent you from minimizing the window.
|
||||||
size_min: SizeOptional = .{ .width = 1, .height = 1 },
|
size_min: SizeOptional = .{ .width = 350, .height = 350 },
|
||||||
|
|
||||||
/// The maximum allowed size for the window.
|
/// The maximum allowed size for the window.
|
||||||
size_max: SizeOptional = .{ .width = null, .height = null },
|
size_max: SizeOptional = .{ .width = null, .height = null },
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue