mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-30 02:58:26 +08:00
vpage
This commit is contained in:
parent
63a1a386f1
commit
16e922a96a
@ -3,6 +3,7 @@
|
||||
2021/08/03
|
||||
* 键盘支持跟随编辑(指定floating=true即可)
|
||||
* 更新文档。
|
||||
* 完善vpage事件处理。
|
||||
|
||||
2021/08/02
|
||||
* 公开函数timer\_manager\_dispatch。
|
||||
|
@ -244,7 +244,9 @@ static ret_t vpage_on_current_page_changed(void* ctx, event_t* e) {
|
||||
uint32_t index = widget_index_of(widget);
|
||||
|
||||
if (old_index == index) {
|
||||
if (widget_is_window_opened(widget)) {
|
||||
vpage_on_leave(widget, index, new_index);
|
||||
}
|
||||
log_debug("leave vpage: %u\r\n", index);
|
||||
} else if (new_index == index) {
|
||||
vpage_on_enter(widget, index, old_index);
|
||||
|
Loading…
Reference in New Issue
Block a user