Skip to content

Commit a1a8e56

Browse files
authored
Update UI-Guide.md (#51)
1 parent ce29594 commit a1a8e56

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

UI-Guide.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ Configuration options for Text nodes (ie. `G.UIT.T`):
142142
- `vert`: set to `true` to draw the text vertically (ie. sideways).
143143

144144
> [!TIP]
145-
> The text contents of a `G.UIT.T` node **cannot be changed** interactively.<br>
146-
> You must either: (1) delete and re-create the node with new text, or (2) use a `DynaText` object.
145+
> If you want to change the text contents of a `G.UIT.T` interactively, use arguments `ref_table` and `ref_value` instead of `text`. Its text will be updated whenever `ref_table[ref_value]` changes.
146+
> If you want animated text, use `G.UIT.O` with `DynaText`.
147147
148148
Configuration optoins for Object nodes (ie. `G.UIT.O`):
149149

@@ -336,4 +336,4 @@ so the best anyone can do is to try different things and find patterns.
336336
Once again, two good places to get a feel for building UI are [Divvy's Preview](https://github.com/DivvyCr/Balatro-Preview/blob/main/src/Interface.lua) and [Divvy's History](https://github.com/DivvyCr/Balatro-History/tree/main/src/UI) mods.
337337

338338
***
339-
*Guide written by DivvyC, original notes by Eremel*
339+
*Guide written by DivvyC, original notes by Eremel*

0 commit comments

Comments
 (0)