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:
LordGrey
2022-03-13 16:38:28 +01:00
committed by GitHub
parent f9a5772aa5
commit 3e8c6f3b25
43 changed files with 12026 additions and 498 deletions

View File

@@ -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;