From ebd3ca8a8f88bb53300b65dfe45ad0f6868cce89 Mon Sep 17 00:00:00 2001 From: Henrik Giesel Date: Fri, 22 Jan 2021 18:09:57 +0100 Subject: [PATCH] Set calendar labels to emptyColour --- rslib/backend.proto | 1 - ts/graphs/calendar.ts | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/rslib/backend.proto b/rslib/backend.proto index 4f31670b2..2af60ab6e 100644 --- a/rslib/backend.proto +++ b/rslib/backend.proto @@ -1103,7 +1103,6 @@ message GraphsPreferencesOut { } Weekday calendar_first_day_of_week = 1; bool card_counts_separate_inactive = 2; - } message RevlogEntry { diff --git a/ts/graphs/calendar.ts b/ts/graphs/calendar.ts index 142d56763..49d127bcc 100644 --- a/ts/graphs/calendar.ts +++ b/ts/graphs/calendar.ts @@ -178,6 +178,7 @@ export function renderCalendar( .attr("height", height - 2) .attr("x", x(1)! - 3) .attr("y", (_d, index) => bounds.marginTop + index * height) + .attr("fill", emptyColour) .attr("dominant-baseline", "hanging") .attr("text-anchor", "end") .attr("font-size", "small")