You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: UI-Guide.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -142,8 +142,8 @@ Configuration options for Text nodes (ie. `G.UIT.T`):
142
142
-`vert`: set to `true` to draw the text vertically (ie. sideways).
143
143
144
144
> [!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`.
147
147
148
148
Configuration optoins for Object nodes (ie. `G.UIT.O`):
149
149
@@ -336,4 +336,4 @@ so the best anyone can do is to try different things and find patterns.
336
336
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.
337
337
338
338
***
339
-
*Guide written by DivvyC, original notes by Eremel*
339
+
*Guide written by DivvyC, original notes by Eremel*
0 commit comments