mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-02 03:58:33 +08:00
improve list item
This commit is contained in:
parent
888b7d530d
commit
817abe20ce
@ -2,6 +2,7 @@
|
||||
|
||||
* 2019/11/18
|
||||
* 完善hscroll label,在only\_parent\_focus为TRUE时,根据父控件设置自己的focus状态。
|
||||
* 完善list item (感谢朝泽提供补丁)。
|
||||
|
||||
* 2019/11/16
|
||||
* 完善文档。
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user