From 802ed38d6b5b082fad629117eaaa695e103cb034 Mon Sep 17 00:00:00 2001 From: Karl Ludwig Weise Date: Thu, 11 Jun 2026 19:48:27 +0200 Subject: [PATCH] Fix Current Time Indicator being show too early in a day --- .../(pages)/dashboard/calendar/(components)/CalendarDay.svelte | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/routes/(pages)/dashboard/calendar/(components)/CalendarDay.svelte b/src/routes/(pages)/dashboard/calendar/(components)/CalendarDay.svelte index 7a2b5ec..2eebcf5 100644 --- a/src/routes/(pages)/dashboard/calendar/(components)/CalendarDay.svelte +++ b/src/routes/(pages)/dashboard/calendar/(components)/CalendarDay.svelte @@ -128,7 +128,8 @@ {/each} - {#if curTimeIndicator && toCalendarDate($clock).toString() === today(getLocalTimeZone()).toString() && latestEndHour * hourSize + hourSize / 2 > curTimeIndicator.hour * hourSize} + + {#if curTimeIndicator && toCalendarDate($clock).toString() === today(getLocalTimeZone()).toString() && latestEndHour * hourSize + hourSize / 2 > curTimeIndicator.hour * hourSize && earliestStartHour * hourSize - hourSize * 2 < curTimeIndicator.hour * hourSize} {@const top = focusAdjustment + curTimeIndicator.hour * hourSize +