mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
* 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:
@@ -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)
|
||||
{
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user