mirror of
https://github.com/lvgl/lvgl.git
synced 2026-06-02 01:18:04 +08:00
ta: fix disabling cursor blink. Closes #1361
This commit is contained in:
@@ -945,6 +945,7 @@ void lv_ta_set_cursor_blink_time(lv_obj_t * ta, uint16_t time)
|
|||||||
a.path_cb = lv_anim_path_step;
|
a.path_cb = lv_anim_path_step;
|
||||||
lv_anim_create(&a);
|
lv_anim_create(&a);
|
||||||
} else {
|
} else {
|
||||||
|
lv_anim_del(ta, cursor_blink_anim);
|
||||||
ext->cursor.state = 1;
|
ext->cursor.state = 1;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
|||||||
Reference in New Issue
Block a user