diff options
author | Tomasz Chabora <kobewi4e@gmail.com> | 2020-06-14 01:23:32 +0200 |
---|---|---|
committer | Tomasz Chabora <kobewi4e@gmail.com> | 2020-06-14 01:23:32 +0200 |
commit | 46fd51056a1e4a59c9e5b351c12f51cc062db009 (patch) | |
tree | ecb482cb7fe7a6b65a66a824abf7b995d30379f1 | |
parent | 58034f39829b8b95a3e5d4c6e8d1ab0427371548 (diff) |
Re-enable scroll follow on RichTextLabel clear
-rw-r--r-- | scene/gui/rich_text_label.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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(); |