mirror of
https://github.com/nymea/nymea-plugins.git
synced 2026-07-18 00:43:48 +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_green = scaleColorValueUp(color.green());
|
||||
m_blue = scaleColorValueUp(color.blue());
|
||||
m_white = 0;
|
||||
|
||||
m_color = color;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user