ludic.ui, ludic.i18n: frame_allocs to 0 - a wrap, an ellipsis, a tooltip's lines, a text-shadow's colour and a range's value kept by what made them; pointer events from a ring; inline text joined through the memo; the pool's and the state's lists through ui_kept; parse, memo miss, pool miss, lazy start and template errors declared; the translation cache clears in place
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
629579123a
commit
429e419327
71 changed files with 365 additions and 155 deletions
|
|
@ -31,9 +31,9 @@ function ui_object_fit_into(out: []float, n: UiNode, nat_w: float, nat_h: float)
|
|||
h = nat_h * s
|
||||
}
|
||||
List.clear(out)
|
||||
push(out, bx + (bw - w) / 2.0)
|
||||
push(out, by + (bh - h) / 2.0)
|
||||
push(out, w)
|
||||
push(out, h)
|
||||
ui_kept(out, bx + (bw - w) / 2.0)
|
||||
ui_kept(out, by + (bh - h) / 2.0)
|
||||
ui_kept(out, w)
|
||||
ui_kept(out, h)
|
||||
return out
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue