From 212b30a163d425632a9496f500db6e6e64a7978e Mon Sep 17 00:00:00 2001 From: Matthew Winter <33818+wintermi@users.noreply.github.com> Date: Wed, 1 Nov 2023 11:51:32 +1100 Subject: [PATCH] feat: change minimum height to 2 --- src/font/sprite/underline.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/font/sprite/underline.zig b/src/font/sprite/underline.zig index 2e3a70958..6f9ab1493 100644 --- a/src/font/sprite/underline.zig +++ b/src/font/sprite/underline.zig @@ -175,7 +175,7 @@ const Draw = struct { // cell height and this doesn't allow us to make a high enough // wave. This constant is arbitrary, change it for aesthetics. const pos: u32 = pos: { - const MIN_HEIGHT: u32 = @max(self.height / 9, 3); + const MIN_HEIGHT: u32 = @max(self.height / 9, 2); break :pos y_max - (MIN_HEIGHT * 2); };