mirror of
https://github.com/nymea/nymea-plugins.git
synced 2026-08-05 03:33:51 +02:00
set white value to zero when setting rgb color
This commit is contained in:
parent
cb6daef1dd
commit
a428fdfb6e
@ -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