From 9b4643e8bc745a1be7ac8e512d05cfdee9623fa8 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 11 May 2025 07:46:06 +0530 Subject: [PATCH] ... --- kitty/decorations.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/decorations.c b/kitty/decorations.c index da8eda0b0..7f29751b1 100644 --- a/kitty/decorations.c +++ b/kitty/decorations.c @@ -702,7 +702,7 @@ draw_parametrized_curve_with_derivative( ) { double larger_dim = fmax(self->height, self->width); double step = 1.0 / larger_dim; - const double min_step = 1.0 / (100 * larger_dim), max_step = step; + const double min_step = step / 100., max_step = step; line_width = fmax(1., line_width); const double half_thickness = line_width / 2.0; const double distance_limit = half_thickness + thickness_fudge;