From ba3114c0b6b707dc973de6ce237470551d762694 Mon Sep 17 00:00:00 2001 From: gullradriel <3157857+gullradriel@users.noreply.github.com> Date: Sun, 9 Apr 2023 08:26:09 +0200 Subject: [PATCH] Update ui_looking_glass_app.cpp Restoring accidentally deleted filter_config.on_change --- firmware/application/apps/ui_looking_glass_app.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/firmware/application/apps/ui_looking_glass_app.cpp b/firmware/application/apps/ui_looking_glass_app.cpp index 7f7100ea..20817141 100644 --- a/firmware/application/apps/ui_looking_glass_app.cpp +++ b/firmware/application/apps/ui_looking_glass_app.cpp @@ -338,6 +338,12 @@ namespace ui }; level_integration.set_selected_index(2); //default integration of ( 3 * old value + new_value ) / 4 + filter_config.set_selected_index(0); + filter_config.on_change = [this](size_t n, OptionsField::value_t v) { + (void)n; + min_color_power = v; + }; + range_presets.on_change = [this](size_t n, OptionsField::value_t v) { (void)n;