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:
Jakub
2026-09-30 23:21:59 +02:00
co-authored by Claude Opus 5.5
parent 01f35afa38
commit 74efb6addd
2 changed files with 13 additions and 4 deletions
@@ -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) {