set white value to zero when setting rgb color
This commit is contained in:
parent
bdb33013e2
commit
cfb3e1415c
@ -106,6 +106,7 @@ bool AveaBulb::setColor(const QColor &color)
|
|||||||
m_red = scaleColorValueUp(color.red());
|
m_red = scaleColorValueUp(color.red());
|
||||||
m_green = scaleColorValueUp(color.green());
|
m_green = scaleColorValueUp(color.green());
|
||||||
m_blue = scaleColorValueUp(color.blue());
|
m_blue = scaleColorValueUp(color.blue());
|
||||||
|
m_white = 0;
|
||||||
|
|
||||||
m_color = color;
|
m_color = color;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user