mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-28 07:03:00 +08:00
tabview: fix unwanted sending of tab change action on page click
This commit is contained in:
parent
1cf5d5db9e
commit
31b3a2a350
@ -691,7 +691,7 @@ static void tabpage_press_lost_handler(lv_obj_t * tabview, lv_obj_t * tabpage)
|
|||||||
if(tab_cur < ext->tab_cnt - 1) tab_cur++;
|
if(tab_cur < ext->tab_cnt - 1) tab_cur++;
|
||||||
}
|
}
|
||||||
|
|
||||||
lv_tabview_set_tab_act(tabview, tab_cur, true);
|
if(tab_cur != ext->tab_cur) lv_tabview_set_tab_act(tabview, tab_cur, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user