mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-30 02:58:26 +08:00
fix window_manager_paint_normal for fragment lcd
This commit is contained in:
parent
6a7254edcf
commit
e7dfe26326
@ -1,4 +1,7 @@
|
||||
# 最新动态
|
||||
* 2020/02/04
|
||||
* 片段 lcd 的片段内存大小刚好等于脏矩形大小的问题(感谢智明提供补丁)
|
||||
|
||||
* 2020/01/28
|
||||
* 优化list view paint children
|
||||
* 增加emitter\_forward
|
||||
|
@ -640,6 +640,9 @@ static ret_t window_manager_paint_normal(widget_t* widget, canvas_t* c) {
|
||||
tmp_h = h % tmp_h;
|
||||
}
|
||||
r.h = tmp_h;
|
||||
if (r.h == 0) {
|
||||
break;
|
||||
}
|
||||
|
||||
canvas_t* c = native_window_get_canvas(wm->native_window);
|
||||
canvas_begin_frame(c, &r, LCD_DRAW_NORMAL);
|
||||
|
Loading…
Reference in New Issue
Block a user