mirror of
https://github.com/open-reception/appointment-booking-software.git
synced 2026-08-17 21:25:52 +02:00
Fix Current Time Indicator being show too early in a day
This commit is contained in:
@@ -128,7 +128,8 @@
|
|||||||
{/each}
|
{/each}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{#if curTimeIndicator && toCalendarDate($clock).toString() === today(getLocalTimeZone()).toString() && latestEndHour * hourSize + hourSize / 2 > curTimeIndicator.hour * hourSize}
|
<!-- Current Time Indicator -->
|
||||||
|
{#if curTimeIndicator && toCalendarDate($clock).toString() === today(getLocalTimeZone()).toString() && latestEndHour * hourSize + hourSize / 2 > curTimeIndicator.hour * hourSize && earliestStartHour * hourSize - hourSize * 2 < curTimeIndicator.hour * hourSize}
|
||||||
{@const top =
|
{@const top =
|
||||||
focusAdjustment +
|
focusAdjustment +
|
||||||
curTimeIndicator.hour * hourSize +
|
curTimeIndicator.hour * hourSize +
|
||||||
|
|||||||
Reference in New Issue
Block a user