From 46fd51056a1e4a59c9e5b351c12f51cc062db009 Mon Sep 17 00:00:00 2001 From: Tomasz Chabora Date: Sun, 14 Jun 2020 01:23:32 +0200 Subject: Re-enable scroll follow on RichTextLabel clear --- scene/gui/rich_text_label.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scene/gui/rich_text_label.cpp b/scene/gui/rich_text_label.cpp index 2f5af0eda0..662eae394f 100644 --- a/scene/gui/rich_text_label.cpp +++ b/scene/gui/rich_text_label.cpp @@ -1970,6 +1970,9 @@ void RichTextLabel::clear() { selection.click = nullptr; selection.active = false; current_idx = 1; + if (scroll_follow) { + scroll_following = true; + } if (fixed_width != -1) { minimum_size_changed(); -- cgit v1.2.3