mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-11-02 19:02:00 +00:00
fix(l2): fast typing - a second finger is a new tap, not a slide
With two thumbs the second lands before the first lifts; the panel's first point then jumped to it and LVGL saw one press sliding from key to key, losing the first letter (or starting a scroll). A new GT911 track id is now a release, then a press. The keyboard no longer hands a rolling finger to a scroll or gesture up the tree. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -279,6 +279,8 @@ static lv_obj_t* create(lv_obj_t* parent, NodePrefs* prefs) {
|
||||
lv_obj_add_event_cb(kbd, onLongPress, LV_EVENT_LONG_PRESSED, NULL);
|
||||
lv_obj_add_event_cb(kbd, onDelete, LV_EVENT_DELETE, NULL);
|
||||
lv_keyboard_set_popovers(kbd, true);
|
||||
// A finger rolling on a key is still that key: no scroll or gesture taken up the tree
|
||||
lv_obj_remove_flag(kbd, (lv_obj_flag_t)(LV_OBJ_FLAG_SCROLL_CHAIN | LV_OBJ_FLAG_GESTURE_BUBBLE));
|
||||
apply(kbd, s_script * 2);
|
||||
return kbd;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user