views/month: Reduce to 3 pages
Now that the timeline handles augmentation, the Month view doesn't need to fetch so much data at once. Reduce to 3 pages of month rows. Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/757>
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
#include <adwaita.h>
|
||||
|
||||
#define N_ROWS_PER_PAGE 5
|
||||
#define N_PAGES 5
|
||||
#define N_PAGES 3
|
||||
#define N_TOTAL_ROWS (N_ROWS_PER_PAGE * N_PAGES)
|
||||
#define FIRST_VISIBLE_ROW_INDEX (N_ROWS_PER_PAGE * (N_PAGES - 1) / 2)
|
||||
#define LAST_VISIBLE_ROW_INDEX (FIRST_VISIBLE_ROW_INDEX + N_ROWS_PER_PAGE - 1)
|
||||
|
||||
Reference in New Issue
Block a user