fix(examples) remove cast in MP scripts (#2354)
After https://github.com/lvgl/lv_binding_micropython/pull/161 merged, it is no longer needed to cast the result of 'e.get_target()' Also, additional small fixes to allow CI improvements
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
def draw_part_event_cb(e):
|
||||
obj = lv.table.__cast__(e.get_target())
|
||||
obj = e.get_target()
|
||||
dsc = lv.obj_draw_part_dsc_t.__cast__(e.get_param())
|
||||
# If the cells are drawn../
|
||||
if dsc.part == lv.PART.ITEMS:
|
||||
|
||||
Reference in New Issue
Block a user