mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-30 19:18:53 +08:00
fix slide_menu_on_event
This commit is contained in:
parent
93f2e47b17
commit
f72917d9d9
@ -517,7 +517,7 @@ static ret_t slide_menu_on_event(widget_t* widget, event_t* e) {
|
||||
return_value_if_fail(widget != NULL && slide_menu != NULL, RET_BAD_PARAMS);
|
||||
|
||||
if (slide_menu->wa != NULL) {
|
||||
return RET_OK;
|
||||
return RET_STOP;
|
||||
}
|
||||
|
||||
switch (type) {
|
||||
@ -553,7 +553,7 @@ static ret_t slide_menu_on_event(widget_t* widget, event_t* e) {
|
||||
break;
|
||||
}
|
||||
|
||||
return RET_OK;
|
||||
return RET_STOP;
|
||||
}
|
||||
|
||||
TK_DECL_VTABLE(slide_menu) = {.size = sizeof(slide_menu_t),
|
||||
|
Loading…
Reference in New Issue
Block a user