From f4702dde1f83a01d7f87d5d5a64cc7832ed9dacf Mon Sep 17 00:00:00 2001 From: Hari Rana Date: Sun, 16 Nov 2025 22:12:35 -0500 Subject: [PATCH] views/month-view: Remove offset Since we're now relying on box shadows to render separators, which don't contribute to layout, we no longer need to set some sort of offset to compensate the separators. Part-of: --- src/gui/views/gcal-month-view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/views/gcal-month-view.c b/src/gui/views/gcal-month-view.c index b0b2e197..034d3c3b 100644 --- a/src/gui/views/gcal-month-view.c +++ b/src/gui/views/gcal-month-view.c @@ -1400,7 +1400,7 @@ gcal_month_view_size_allocate (GtkWidget *widget, gtk_widget_measure (self->header, GTK_ORIENTATION_VERTICAL, width, &header_height, NULL, NULL, NULL); gtk_widget_allocate (self->header, width, header_height, baseline, NULL); - grid_height = height - header_height + 1; + grid_height = height - header_height; row_height = grid_height / (gdouble) N_ROWS_PER_PAGE; row_scroll_offset = self->row_offset * row_height; y_offset = header_height - row_scroll_offset - (grid_height * ((N_PAGES - 1) / 2.0));