From 8874711cb46eacacce6c3f6d4a9602c4391438df Mon Sep 17 00:00:00 2001 From: Kevin Koenig Date: Sun, 19 Jun 2022 08:22:29 -0400 Subject: [PATCH] Keep highlighted row with lv_table on touch release (#2059) --- radio/src/gui/colorlcd/themes/etx_lv_theme.cpp | 3 ++- radio/src/thirdparty/libopenui | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/radio/src/gui/colorlcd/themes/etx_lv_theme.cpp b/radio/src/gui/colorlcd/themes/etx_lv_theme.cpp index 64063a45b..200cc73e8 100644 --- a/radio/src/gui/colorlcd/themes/etx_lv_theme.cpp +++ b/radio/src/gui/colorlcd/themes/etx_lv_theme.cpp @@ -12,6 +12,7 @@ #include "libopenui_config.h" #include "widgets/field_edit.h" +#include "widgets/edgetx_table.h" #include "lvgl_widgets/input_mix_line.h" #include "lvgl_widgets/input_mix_group.h" @@ -885,7 +886,7 @@ static void theme_apply(lv_theme_t * th, lv_obj_t * obj) #endif #if LV_USE_TABLE - else if(lv_obj_check_type(obj, &lv_table_class)) { + else if(lv_obj_check_type(obj, &lv_table_class) || lv_obj_check_type(obj, &table_class)) { lv_obj_add_style(obj, &styles.pad_zero, 0); lv_obj_add_style(obj, &styles.no_radius, 0); lv_obj_add_style(obj, &styles.scrollbar, LV_PART_SCROLLBAR); diff --git a/radio/src/thirdparty/libopenui b/radio/src/thirdparty/libopenui index dfc04ec39..dc82d5ade 160000 --- a/radio/src/thirdparty/libopenui +++ b/radio/src/thirdparty/libopenui @@ -1 +1 @@ -Subproject commit dfc04ec39a256ab6ec3e8e5766aa55961179379f +Subproject commit dc82d5adea919a342149f0312148ec555e0dae1f