Skip to content

plugins/nightlight: Make the slow transition more robust to fuzzy time values

If the slow transition is scheduled slightly earlier before m_next.first, don't skip the "m_prev.first <= todayNow && todayNow <= m_prev.second" branch.

Also explicitly handle the case when resetSlowUpdateTimers() gets called after m_prev.second, i.e. the previous transition has finished running.

Merge request reports