fix(micropython) update examples for new API (#3059)

Related: https://github.com/lvgl/lv_binding_micropython/issues/202
This commit is contained in:
Amir Gonnen
2022-01-29 19:39:11 +02:00
committed by GitHub
parent f6a61df3ae
commit c7a414bfc6
7 changed files with 9 additions and 11 deletions

View File

@@ -35,7 +35,7 @@ def draw_event_cb(e):
coords = lv.area_t()
obj.get_coords(coords)
a.y2 = coords.y2
lv.draw_rect(a, dsc.clip_area, draw_rect_dsc)
dsc.draw_ctx.rect(draw_rect_dsc, a)
# Remove the masks
lv.draw_mask_remove_id(line_mask_id)