set white value to zero when setting rgb color
parent
bdb33013e2
commit
cfb3e1415c
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue