ludic.ui: a fired event, a press, a hold and a native's events make nothing - a ring of 16 event objects and one hold object made with the state with their keys, and every ui_fire with no value carries the kept null

The last kept bytes of the leak gate's pack, shop and journal screens (memory_final, count mode).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Orkun ÇAKILKAYA 2026-09-28 19:20:01 +03:00
parent 1e714623b7
commit 4df15eacfb
7 changed files with 37 additions and 10 deletions

View file

@ -27,7 +27,7 @@ function fc_keys(ui_st: mut UiState, root: UiNode) -> void {
let top = pp_top(root)
if top != null { fc_collect(ui_st, top) } else { fc_collect(ui_st, root) }
if ct_key_capture(ui_st, ui_st.fc_list) { return }
if top != null and ui_st.in_now.escape { ui_fire(ui_st, top, "close", Value.null()) }
if top != null and ui_st.in_now.escape { ui_fire(ui_st, top, "close", ui_st.fc_none) }
let i = ui_st.in_now
if fc_find(ui_st) < 0 { fc_autofocus(ui_st) }
let at = fc_find(ui_st)