mirror of
https://github.com/lvgl/lvgl.git
synced 2026-06-02 09:37:42 +08:00
refactor(style): rename lv_indev_get_act to lv_indev_active
This commit is contained in:
@@ -973,7 +973,7 @@ static lv_obj_t * album_image_create(lv_obj_t * parent)
|
||||
static void album_gesture_event_cb(lv_event_t * e)
|
||||
{
|
||||
LV_UNUSED(e);
|
||||
lv_dir_t dir = lv_indev_get_gesture_dir(lv_indev_get_act());
|
||||
lv_dir_t dir = lv_indev_get_gesture_dir(lv_indev_active());
|
||||
if(dir == LV_DIR_LEFT) _lv_demo_music_album_next(true);
|
||||
if(dir == LV_DIR_RIGHT) _lv_demo_music_album_next(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user