* Fix #967

* Start Smoothing in pause mode to avoid resource usage, if hyperion is started without active priority

* Update Changelog
This commit is contained in:
LordGrey
2021-12-14 07:55:34 +01:00
committed by GitHub
parent 442fab9c59
commit fcd0fb0c52
3 changed files with 6 additions and 5 deletions

View File

@@ -124,6 +124,9 @@ void Hyperion::start()
_deviceSmooth = new LinearColorSmoothing(getSetting(settings::SMOOTHING), this);
connect(this, &Hyperion::settingsChanged, _deviceSmooth, &LinearColorSmoothing::handleSettingsUpdate);
//Start in pause mode, a new priority will activate smoothing (either start-effect or grabber)
_deviceSmooth->setPause(true);
// create the message forwarder only on main instance
if (_instIndex == 0)
{

View File

@@ -539,11 +539,6 @@ void LinearColorSmoothing::clearQueuedColors()
void LinearColorSmoothing::componentStateChange(hyperion::Components component, bool state)
{
if (component == hyperion::COMP_LEDDEVICE)
{
clearQueuedColors();
}
if (component == hyperion::COMP_SMOOTHING)
{
setEnable(state);