From 38c4fc5b011f0acf865a8d880198420af143ecc9 Mon Sep 17 00:00:00 2001 From: praschke <91733887+praschke@users.noreply.github.com> Date: Thu, 15 Sep 2022 14:32:39 +0000 Subject: [PATCH] mach: make default minimum window size 350x350 --- src/structs.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structs.zig b/src/structs.zig index bdf03562..00aaa4c6 100644 --- a/src/structs.zig +++ b/src/structs.zig @@ -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, /// 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. - size_min: SizeOptional = .{ .width = 1, .height = 1 }, + size_min: SizeOptional = .{ .width = 350, .height = 350 }, /// The maximum allowed size for the window. size_max: SizeOptional = .{ .width = null, .height = null },