improve list item

This commit is contained in:
lixianjing 2019-11-18 15:12:10 +08:00
parent 888b7d530d
commit 817abe20ce
2 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,7 @@
* 2019/11/18
* 完善hscroll label在only\_parent\_focus为TRUE时根据父控件设置自己的focus状态。
* 完善list item (感谢朝泽提供补丁)。
* 2019/11/16
* 完善文档。

View File

@ -56,6 +56,7 @@ static ret_t list_item_remove_timer(widget_t* widget) {
return_value_if_fail(list_item != NULL, RET_BAD_PARAMS);
if (list_item->timer_id != TK_INVALID_ID) {
widget_off_by_func(widget->parent, EVT_POINTER_UP, list_item_on_parent_pointer_up, widget);
timer_remove(list_item->timer_id);
list_item->timer_id = TK_INVALID_ID;
}