From cfb3e1415c6211569a49cf770fe7f85cc2563f30 Mon Sep 17 00:00:00 2001 From: Michael Zanetti Date: Mon, 3 Dec 2018 14:53:03 +0100 Subject: [PATCH] set white value to zero when setting rgb color --- elgato/aveabulb.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/elgato/aveabulb.cpp b/elgato/aveabulb.cpp index 1ab4bd16..a39bba7b 100644 --- a/elgato/aveabulb.cpp +++ b/elgato/aveabulb.cpp @@ -106,6 +106,7 @@ bool AveaBulb::setColor(const QColor &color) m_red = scaleColorValueUp(color.red()); m_green = scaleColorValueUp(color.green()); m_blue = scaleColorValueUp(color.blue()); + m_white = 0; m_color = color;