mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-28 13:46:36 +00:00
Make background of the spinner object transparent
This commit is contained in:
parent
f362cff718
commit
9974682d2a
@ -168,7 +168,7 @@ typedef struct
|
|||||||
#if LV_USE_ANIMATION
|
#if LV_USE_ANIMATION
|
||||||
lv_style_t edge_flash;
|
lv_style_t edge_flash;
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif // LV_USE_PAGE
|
||||||
|
|
||||||
#if LV_USE_SLIDER
|
#if LV_USE_SLIDER
|
||||||
lv_style_t slider_knob, slider_bg;
|
lv_style_t slider_knob, slider_bg;
|
||||||
@ -1179,6 +1179,7 @@ static void theme_apply(lv_theme_t* th, lv_obj_t* obj, lv_theme_style_t name)
|
|||||||
case LV_THEME_SPINNER:
|
case LV_THEME_SPINNER:
|
||||||
list = lv_obj_get_style_list(obj, LV_SPINNER_PART_BG);
|
list = lv_obj_get_style_list(obj, LV_SPINNER_PART_BG);
|
||||||
_lv_style_list_add_style(list, &styles->pretty);
|
_lv_style_list_add_style(list, &styles->pretty);
|
||||||
|
_lv_style_list_add_style(list, &styles->transparent);
|
||||||
|
|
||||||
list = lv_obj_get_style_list(obj, LV_SPINNER_PART_INDIC);
|
list = lv_obj_get_style_list(obj, LV_SPINNER_PART_INDIC);
|
||||||
_lv_style_list_add_style(list, &styles->arc_indic);
|
_lv_style_list_add_style(list, &styles->arc_indic);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user