mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Update UI JS Libraries (#1441)
* Update Gijgo to 1.9.13 * Update DOMPurify 2.3.6 * Update Marked 4.0.12 * Update metismenu 3.0.7 * Issue Update Priority, if first LED changes for COLOR update (to reflect color correctly in UI) * Add Yeelight W3 MultiColor * Update to jquery 3.6.0
This commit is contained in:
@@ -214,6 +214,19 @@ bool PriorityMuxer::setInput(int priority, const std::vector<ColorRgb>& ledColor
|
||||
active = false;
|
||||
activeChange = true;
|
||||
}
|
||||
|
||||
if (input.componentId == hyperion::COMP_COLOR)
|
||||
{
|
||||
if (!input.ledColors.empty() && !ledColors.empty())
|
||||
{
|
||||
//Only issue priority update, if first LED change as value in update is representing first LED only
|
||||
if (input.ledColors.begin() != ledColors.begin())
|
||||
{
|
||||
activeChange = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// update input
|
||||
input.timeoutTime_ms = timeout_ms;
|
||||
input.ledColors = ledColors;
|
||||
|
Reference in New Issue
Block a user