From e28d20a05d543f152ce714213b9072525c0ad795 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 2 Mar 2023 12:55:46 -0800 Subject: [PATCH] disable the auto balance config by default, add some padding This makes resizing too jittery which I think is a worse out of the box experience than the padding. --- src/config.zig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/config.zig b/src/config.zig index b0e13e1e8..36761bd86 100644 --- a/src/config.zig +++ b/src/config.zig @@ -119,8 +119,8 @@ pub const Config = struct { /// the grid will be completely squished by the padding. It is up to you /// as the user to pick a reasonable value. If you pick an unreasonable /// value, a warning will appear in the logs. - @"window-padding-x": u32 = 0, - @"window-padding-y": u32 = 0, + @"window-padding-x": u32 = 2, + @"window-padding-y": u32 = 2, /// The viewport dimensions are usually not perfectly divisible by /// the cell size. In this case, some extra padding on the end of a @@ -134,7 +134,7 @@ pub const Config = struct { /// still apply. The other padding is applied first and may affect how /// many grid cells actually exist, and this is applied last in order /// to balance the padding given a certain viewport size and grid cell size. - @"window-padding-balance": bool = true, + @"window-padding-balance": bool = false, /// If true, new windows and tabs will inherit the font size of the previously /// focused window. If no window was previously focused, the default