color: Smooth the transition between different temperature values

Desktop / GNOME / GNOME Settings Daemon - Richard Hughes [hughsie.com] - 16 February 2017 10:06 EST

This makes the effect less jarring when enabling or disabling in the control center or shell. This and also means we transition nicely when adjusting the times in manual mode.

https://bugzilla.gnome.org/show_bug.cgi?id=778689

591c886 color: Smooth the transition between different temperature values
plugins/color/gcm-self-test.c | 3 ++
plugins/color/gsd-night-light.c | 87 +++++++++++++++++++++++++++++++++++++++--
plugins/color/gsd-night-light.h | 2 +
3 files changed, 89 insertions(+), 3 deletions(-)

Upstream: git.gnome.org


  • Share