mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-30 02:58:26 +08:00
improve slide view
This commit is contained in:
parent
6467f8e8a4
commit
32ab14a65c
@ -5,6 +5,7 @@
|
||||
* 修复digit_clock在destroy的时候找不到窗口导致警告的问(感谢智明提供补丁)
|
||||
* 修复popup弹窗不见的问题(感谢智明提供补丁)
|
||||
* 修复sizeof 的警告问题(感谢智明提供补丁)
|
||||
* 修复非focused时候设置slide_view激活子控件的逻辑(感谢智明提供补丁)
|
||||
|
||||
2022/09/29
|
||||
* 支持设置自定义键值(感谢兆坤提供补丁)
|
||||
|
@ -798,9 +798,10 @@ static ret_t slide_view_on_idle_init_save_target(const idle_info_t* idle) {
|
||||
slide_view_t* slide_view = NULL;
|
||||
return_value_if_fail(idle != NULL, RET_BAD_PARAMS);
|
||||
slide_view = SLIDE_VIEW(idle->ctx);
|
||||
|
||||
slide_view_restore_target(WIDGET(slide_view));
|
||||
slide_view->init_idle_id = TK_INVALID_ID;
|
||||
if (slide_view->widget.focused) {
|
||||
slide_view_restore_target(WIDGET(slide_view));
|
||||
slide_view->init_idle_id = TK_INVALID_ID;
|
||||
}
|
||||
|
||||
return RET_OK;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user