mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-11-02 19:02:00 +00:00
perf(l2): the Quick-message editor freezes the screen under it
The editor has its own 80 % dim layer, not a popupOpen() one, so every key press redrew the list under it and blended the dim over it. It now freezes the screen like the popups (freeze::now); the frozen image takes the dim layer's own level instead of assuming 60 %. Keyboard redraw 38.7 -> 29.7 ms, full frame 46.3 -> 39.7 ms. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -165,6 +165,7 @@ void UITask::quickEdit(int slot) {
|
||||
lv_keyboard_set_textarea(_nav_kb, _nav_ta);
|
||||
lv_obj_add_event_cb(_nav_kb, onQuickEditKb, LV_EVENT_READY, NULL);
|
||||
lv_obj_add_event_cb(_nav_kb, onQuickEditKb, LV_EVENT_CANCEL, NULL);
|
||||
freeze::now(_nav_overlay); // typing redraws keys, not the list under the dim
|
||||
}
|
||||
|
||||
void UITask::quickEditInsert(int ph) {
|
||||
|
||||
Reference in New Issue
Block a user