Closed AnidemDex closed 2 years ago
In adition to this, if you got this error
E 0:00:00.897 get_wordwrap_string_size: Condition "p_width <= 0" is true. Returned: Vector2(0, get_height())
<C++ Source> scene/resources/font.cpp:484 @ get_wordwrap_string_size()
<Stack Trace> dialog_node.gd:145 @ _scroll_to_new_line()
dialog_node.gd:104 @ _update_displayed_text()
Is due the node is hidden before trying to add text
OS
No response
Godot Version
No response
Plugin Version
1.0 (lastest)
Issue description
As the title says, dialog node
show_text
should show the node when you use that method. No idea why I forgot to add that behaviour since the method name supposes to show the node.Thanks to babypandabear3 on Discord server for pointing this out.
Steps to reproduce
call
show_text("asdf")
in a valid DialogNode instance.Workaround