lv_ta: lv_ta_cursor_show() don't let cursor visible if disabled

This commit is contained in:
Gabor
2017-08-23 14:19:42 +02:00
parent 1bdc650635
commit 90d8a11917

View File

@@ -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);
}
/**