mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 00:36:07 +03:00
font/sprite: remove comptime arg for box drawing
This commit is contained in:
@ -2425,7 +2425,7 @@ fn draw_light_arc(
|
||||
fn draw_dash_horizontal(
|
||||
self: Box,
|
||||
canvas: *font.sprite.Canvas,
|
||||
comptime count: u8,
|
||||
count: u8,
|
||||
thick_px: u32,
|
||||
desired_gap: u32,
|
||||
) void {
|
||||
@ -2481,7 +2481,7 @@ fn draw_dash_horizontal(
|
||||
// more visually obvious.
|
||||
var extra: u32 = remaining;
|
||||
|
||||
inline for (0..count) |_| {
|
||||
for (0..count) |_| {
|
||||
var x1 = x + dash_width;
|
||||
// We distribute left-over size in to dash widths,
|
||||
// since it's less obvious there than in the gaps.
|
||||
|
Reference in New Issue
Block a user