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:
parent
1e714623b7
commit
4df15eacfb
7 changed files with 37 additions and 10 deletions
|
|
@ -25,7 +25,7 @@ function pp_pointer(ui_st: mut UiState, top: UiNode) -> bool {
|
|||
if not (i.down and not ui_st.in_was_down) { return false }
|
||||
if i.x >= top.x and i.y >= top.y and i.x < top.x + top.cw and i.y < top.y + top.ch { return false }
|
||||
ui_st.fr_press_key = ""
|
||||
ui_fire(ui_st, top, "close", Value.null())
|
||||
ui_fire(ui_st, top, "close", ui_st.fc_none)
|
||||
return true
|
||||
}
|
||||
function pp_draw_top(ui_st: mut UiState) -> void {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue