feat: update undercurl thickness and wave height

This commit is contained in:
Matthew Winter
2023-10-31 21:53:04 +11:00
parent 60b69a32d0
commit d7a16e0245

View File

@ -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);
};