ludic.ui, ludic.i18n: frame_keeps and birth_leaks to 0 - :nth-child's a and b read once per argument, a border-image's miss its own function; typing, the dev dump, parsing, the pointer ring's making, Ln's counted line and the plural header declared
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
23d204b9fc
commit
f8825dc55a
16 changed files with 67 additions and 23 deletions
|
|
@ -37,6 +37,7 @@ function ct_num_step(ui_st: mut UiState, n: UiNode, d: int) -> void {
|
|||
ct_num_set(ui_st, n, base + ct_num_step_of(n) * float(d))
|
||||
}
|
||||
# what was typed this frame, the characters a number can hold; Backspace takes one back
|
||||
@alloc_ok("on a key typed into a number field, not a frame")
|
||||
function ct_num_typed(ui_st: mut UiState, n: UiNode) -> void {
|
||||
if ui_st.fc_key != n.key or (ui_st.in_now.typed == "" and not ui_st.in_now.backspace) { return }
|
||||
if ui_st.ct_num_key != n.key {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue