mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-28 13:36:27 +08:00
refactor(style): rename lv_indev_get_act to lv_indev_active
This commit is contained in:
@@ -195,7 +195,7 @@ static void msgbox_event_cb(lv_event_t * e)
|
||||
|
||||
static void ta_event_cb(lv_event_t * e)
|
||||
{
|
||||
lv_indev_t * indev = lv_indev_get_act();
|
||||
lv_indev_t * indev = lv_indev_active();
|
||||
if(indev == NULL) return;
|
||||
lv_indev_type_t indev_type = lv_indev_get_type(indev);
|
||||
|
||||
|
||||
@@ -131,7 +131,7 @@ class KeyboardEncoder:
|
||||
|
||||
def ta_event_cb(self,e) :
|
||||
|
||||
indev = lv.indev_get_act()
|
||||
indev = lv.indev_active()
|
||||
if indev == None :
|
||||
return
|
||||
indev_type = indev.get_type()
|
||||
|
||||
Reference in New Issue
Block a user