diff --git a/colorcorrection/manager.cpp b/colorcorrection/manager.cpp index b1ae69476a..70580500d0 100644 --- a/colorcorrection/manager.cpp +++ b/colorcorrection/manager.cpp @@ -397,9 +397,9 @@ void Manager::resetSlowUpdateTimer() bool isDay = daylight(); int targetTemp = isDay ? m_dayTargetTemp : m_nightTargetTemp; - if (m_prev.first == m_prev.second) { - // transition time is zero - commitGammaRamps(isDay ? m_dayTargetTemp : m_nightTargetTemp); + // We've reached the target color temperature or the transition time is zero. + if (m_prev.first == m_prev.second || m_currentTemp == targetTemp) { + commitGammaRamps(targetTemp); return; }