Hi there,
When I checked it after running the option of timeline_scalex_class, I realized of adding the css class “extra-time” of two.
my codes:
scheduler1.templates.timeline_scalex_class = (date) =>
([0, 1, 2, 3, 4, 5, 22, 23].includes(date.getHours()) ? 'extra-time' : '')
:
.extra-time {
color: lightgray;
background-color: ghostwhite;
}
However, it seems its option calls the function with the same datetime for 2 times.
Why would it be called twice like that…?
Thank you for your kind support in advance.
meicom