From bae9147dec2fc335e655c0c32c3f6cfe9f229ab7 Mon Sep 17 00:00:00 2001 From: brindosch Date: Sun, 16 Feb 2020 18:05:50 +0100 Subject: [PATCH] fix: Smoothing comp state on startup (#685) * fix: Smoothing compo state on startup * Adjust issue template --- .github/PULL_REQUEST_TEMPLATE.md | 6 ++++-- libsrc/hyperion/LinearColorSmoothing.cpp | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index cf9b9df7..659983bd 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -5,6 +5,8 @@ **Summary** + + **What kind of change does this PR introduce?** (check at least one) - [ ] Bugfix @@ -25,8 +27,8 @@ If changing the UI of web configuration, please provide the **before/after** scr If yes, please describe the impact and migration path for existing setups: **The PR fulfills these requirements:** - -- [ ] When resolving a specific issue, it's referenced in the PR's title (e.g. `fix #xxx[,#xxx]`, where "xxx" is the issue number) + +- [ ] When resolving a specific issue, it's referenced in the PR's body (e.g. `Fixes: #xxx[,#xxx]`, where "xxx" is the issue number) If adding a **new feature**, the PR's description includes: diff --git a/libsrc/hyperion/LinearColorSmoothing.cpp b/libsrc/hyperion/LinearColorSmoothing.cpp index 7db7c4cd..1db5464d 100644 --- a/libsrc/hyperion/LinearColorSmoothing.cpp +++ b/libsrc/hyperion/LinearColorSmoothing.cpp @@ -26,7 +26,7 @@ LinearColorSmoothing::LinearColorSmoothing(const QJsonDocument& config, Hyperion , _continuousOutput(false) , _pause(false) , _currentConfigId(0) - , _enabled(true) + , _enabled(false) { // init cfg 0 (default) addConfig(DEFAUL_SETTLINGTIME, DEFAUL_UPDATEFREQUENCY, DEFAUL_OUTPUTDEPLAY);