From 782e7cb2fb229b1bfe3ac82b17768a3d65ed50be Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 10 May 2025 10:03:29 +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 2b00fe81d..19dd46bec 100644 --- a/kitty/decorations.c +++ b/kitty/decorations.c @@ -742,7 +742,7 @@ draw_parametrized_curve_with_derivative( double px = x + dx, py = y + dy; double dist = distance(x, y, px, py); int row = (int)py + yoffset, col = (int)px + x_offset; - if (dist >= distance_limit || row >= (int)self->height || row < 0 || col >= (int)self->width || col < 0) continue; + if (dist > distance_limit || row >= (int)self->height || row < 0 || col >= (int)self->width || col < 0) continue; const int offset = row * self->width + col; double alpha = 1.0 - (dist / half_thickness); uint8_t old_alpha = self->mask[offset];