mach: make default minimum window size 350x350

This commit is contained in:
praschke 2022-09-15 14:32:39 +00:00 committed by Stephen Gutekanst
parent a873227ab8
commit 38c4fc5b01

View file

@ -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 },