mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Bugfixes [ColorOrder apply, hue wizard, ledDevice display] (#621)
* Resolve general colorOrder update issue * Fix: wizard.js syntax broken * Fix: Remove active device prop and migrate to config data * Fixing instanceStop Bug on WebUi (#10) * Fixing instanceStop Bug on WebUi * Added removeStorage * Changes to deletion logic * Improvements to deletion check * Feat: Show always save btn & rm generate btn
This commit is contained in:
@@ -538,7 +538,6 @@ void JsonAPI::handleServerInfoCommand(const QJsonObject& message, const QString&
|
||||
|
||||
// get available led devices
|
||||
QJsonObject ledDevices;
|
||||
ledDevices["active"] = _hyperion->getActiveDevice();
|
||||
QJsonArray availableLedDevices;
|
||||
for (auto dev: LedDeviceWrapper::getDeviceMap())
|
||||
{
|
||||
|
@@ -235,6 +235,12 @@ void Hyperion::handleSettingsUpdate(const settings::type& type, const QJsonDocum
|
||||
{
|
||||
_ledString = hyperion::createLedString(getSetting(settings::LEDS).array(), hyperion::createColorOrder(dev));
|
||||
_imageProcessor->setLedString(_ledString);
|
||||
|
||||
_ledStringColorOrder.clear();
|
||||
for (Led& led : _ledString.leds())
|
||||
{
|
||||
_ledStringColorOrder.push_back(led.colorOrder);
|
||||
}
|
||||
}
|
||||
|
||||
// do always reinit until the led devices can handle dynamic changes
|
||||
|
Reference in New Issue
Block a user