~aleteoryx/muditaos

5ce8bbc7d8cdd548eaa8071afdde5a88243cca05 — Paweł Joński 3 years ago 00fd29f
[BH-1494] Frontlight arrows show fix - remove regressions

Previous solution caused some regressions along the system
This approach solves the bug differently, avoiding those regressions
M module-apps/apps-common/widgets/spinners/StringOutputSpinner.hpp => module-apps/apps-common/widgets/spinners/StringOutputSpinner.hpp +0 -1
@@ 177,7 177,6 @@ namespace gui
    {
        container.set(value);
        update();
        invoke();
    }

    template <typename Container, typename Formatter>

M products/BellHybrid/apps/common/include/common/widgets/list_items/details.hpp => products/BellHybrid/apps/common/include/common/widgets/list_items/details.hpp +5 -1
@@ 28,6 28,7 @@ namespace app::list_items
            void set_value(const value_type &value)
            {
                spinner->set_value(value);
                control_visibility();
            }

            void set_range(const typename spinner_type::range &range)


@@ 75,7 76,10 @@ namespace app::list_items
                };

                getValue = [this]() { this->model.setValue(this->spinner->value()); };
                setValue = [this]() { this->spinner->set_value(this->model.getValue()); };
                setValue = [this]() {
                    this->spinner->set_value(this->model.getValue());
                    control_visibility();
                };

                inputCallback = [this, &bottomDescription](Item &, const gui::InputEvent &event) {
                    return OnInputCallback(event);