mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-28 07:03:00 +08:00
fix(style): reset style lookup table after gc sweep/lv_deinit (#3385)
This commit is contained in:
parent
6be43b83b3
commit
6a8dd1a3b6
@ -169,6 +169,9 @@ void lv_style_reset(lv_style_t * style)
|
||||
|
||||
lv_style_prop_t lv_style_register_prop(uint8_t flag)
|
||||
{
|
||||
if(LV_GC_ROOT(_lv_style_custom_prop_flag_lookup_table) == NULL) {
|
||||
_lv_style_custom_prop_flag_lookup_table_size = 0;
|
||||
}
|
||||
/*
|
||||
* Allocate the lookup table if it's not yet available.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user