From d7a16e024564248cd1211170f8722cfd9b93e101 Mon Sep 17 00:00:00 2001 From: Matthew Winter <33818+wintermi@users.noreply.github.com> Date: Tue, 31 Oct 2023 21:53:04 +1100 Subject: [PATCH] feat: update undercurl thickness and wave height --- 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 ed08896c6..2e3a70958 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 / 10, 3); + const MIN_HEIGHT: u32 = @max(self.height / 9, 3); break :pos y_max - (MIN_HEIGHT * 2); };