lv_ta: lv_ta_cursor_show() don't let cursor visible if disabled
This commit is contained in:
@@ -522,6 +522,8 @@ void lv_ta_set_cursor_show(lv_obj_t * ta, bool show)
|
||||
{
|
||||
lv_ta_ext_t * ext = lv_obj_get_ext(ta);
|
||||
ext->cursor_show = show == false ? 0 : 1;
|
||||
ext->cursor_state = 0;
|
||||
lv_obj_inv(ta);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user