From de3870246a06ed083db71d9069cd1bbcc6fa3aa3 Mon Sep 17 00:00:00 2001 From: stormshadow <190884359+st0rm-shad0w@users.noreply.github.com> Date: Fri, 24 Apr 2026 05:42:11 +0530 Subject: [PATCH] labnag: remove +1 offset from button Y-position calculation It essentially removes an awkward top margin from the button on the main labnag bar. --- clients/labnag.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/labnag.c b/clients/labnag.c index 82b6e8cd..5abd989e 100644 --- a/clients/labnag.c +++ b/clients/labnag.c @@ -447,7 +447,7 @@ render_button(cairo_t *cairo, struct nag *nag, struct button *button, } button->x = *x - border - text_width - padding * 2 + 1; - button->y = (int)(ideal_height - text_height) / 2 - padding + 1; + button->y = (int)(ideal_height - text_height) / 2 - padding; button->width = text_width + padding * 2; button->height = text_height + padding * 2;