mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 08:16:13 +03:00
feat: change minimum height to 2
This commit is contained in:
@ -175,7 +175,7 @@ const Draw = struct {
|
|||||||
// cell height and this doesn't allow us to make a high enough
|
// cell height and this doesn't allow us to make a high enough
|
||||||
// wave. This constant is arbitrary, change it for aesthetics.
|
// wave. This constant is arbitrary, change it for aesthetics.
|
||||||
const pos: u32 = pos: {
|
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);
|
break :pos y_max - (MIN_HEIGHT * 2);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user