mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-11-03 03:11:57 +00:00
refactor: shared text-entry popup (ui-lvgl) and chat bubble row (ui-new); GPS search clock keeps a found fix
- ui-lvgl: navTextEntry()/TextEntry replace eight copies of popup + field + keyboard wiring; one byte-capped insert callback instead of two. - ui-new: drawHeadedBubble()/BubbleMark replace the duplicated DM and channel bubble drawing in MessagesScreen. - GpsSky::halt(): stopping the receiver ends an unfinished search but keeps the first-fix time; keyboard cursor blink restarts after a key. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VeBrxKyHHxWsmttVkUdBrj
This commit is contained in:
@@ -155,6 +155,7 @@ static const char* s_var_map[13];
|
||||
// on another object) can take that state away: put it back after a pick.
|
||||
static void keepCursor(lv_obj_t* ta) {
|
||||
lv_obj_add_state(ta, LV_STATE_FOCUSED);
|
||||
lv_textarea_set_cursor_pos(ta, lv_textarea_get_cursor_pos(ta)); // restarts the blink (see fieldFocus)
|
||||
lv_obj_invalidate(ta);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user