ludic.ui: no number made text to be read back - a style handler returns before any text for a key not its own, grow/alpha/animations/scroll read numbers as numbers, el_secs split once per text, a tooltip translated when its title changes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
5f2900ffda
commit
706c7abc55
9 changed files with 39 additions and 9 deletions
|
|
@ -22,6 +22,6 @@ function sc_held(ui_st: mut UiState, n: UiNode, off: float, live: bool) -> float
|
|||
ui_st.sc_want_px = pxs
|
||||
}
|
||||
let v = ui_attr(n, "scroll-top")
|
||||
if Value.kind(v) != 0 { at = ui_px(ui_st, el_num(vl_text(v))) }
|
||||
if Value.kind(v) != 0 { at = ui_px(ui_st, el_numv(ui_st, v)) }
|
||||
return at
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue