mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-29 18:48:09 +08:00
fix window_manager_snap_prev_window
This commit is contained in:
parent
12a4013dda
commit
0d7926ee30
@ -202,6 +202,9 @@ ret_t window_manager_snap_prev_window(widget_t* widget, widget_t* prev_win, bitm
|
||||
ENSURE(vgcanvas_bind_fbo(vg, fbo) == RET_OK);
|
||||
ENSURE(canvas_begin_frame(c, NULL, LCD_DRAW_OFFLINE) == RET_OK);
|
||||
ENSURE(widget_on_paint_background(widget, c) == RET_OK);
|
||||
if (wm->system_bar) {
|
||||
widget_paint(wm->system_bar, c);
|
||||
}
|
||||
ENSURE(widget_paint(prev_win, c) == RET_OK);
|
||||
|
||||
if (dialog_highlighter != NULL) {
|
||||
@ -215,6 +218,9 @@ ret_t window_manager_snap_prev_window(widget_t* widget, widget_t* prev_win, bitm
|
||||
ENSURE(canvas_begin_frame(c, &r, LCD_DRAW_OFFLINE) == RET_OK);
|
||||
canvas_set_clip_rect(c, &r);
|
||||
ENSURE(widget_on_paint_background(widget, c) == RET_OK);
|
||||
if (wm->system_bar) {
|
||||
widget_paint(wm->system_bar, c);
|
||||
}
|
||||
ENSURE(widget_paint(prev_win, c) == RET_OK);
|
||||
if (dialog_highlighter != NULL) {
|
||||
dialog_highlighter_prepare(dialog_highlighter, c);
|
||||
|
Loading…
Reference in New Issue
Block a user