Fix RichTextLabel not updating

Fix RichTextLabel not updating when changing scroll_active in the editor and in projects
This commit is contained in:
Kni1feKillz
2025-12-31 10:16:13 +04:00
parent 20b67f3661
commit 3f50ab6f03
+2
View File
@@ -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();
}