Fix RichTextLabel not updating
Fix RichTextLabel not updating when changing scroll_active in the editor and in projects
This commit is contained in:
@@ -5182,6 +5182,8 @@ void RichTextLabel::set_scroll_active(bool p_active) {
|
||||
|
||||
scroll_active = p_active;
|
||||
vscroll->set_drag_node_enabled(p_active);
|
||||
vscroll->set_visible(p_active);
|
||||
_apply_translation(); // without this, RichLabelText is not updated in the editor/game.
|
||||
queue_redraw();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user