refactor: scr -> screen, act->active, del->delete, remove in obj_clear_flag/state
This commit is contained in:
@@ -16,6 +16,6 @@ style.set_outline_color(lv.palette_main(lv.PALETTE.BLUE))
|
||||
style.set_outline_pad(8)
|
||||
|
||||
# Create an object with the new style
|
||||
obj = lv.obj(lv.scr_act())
|
||||
obj = lv.obj(lv.screen_active())
|
||||
obj.add_style(style, 0)
|
||||
obj.center()
|
||||
|
||||
Reference in New Issue
Block a user