diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-06-14 10:13:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-14 10:13:21 +0200 |
commit | 98f47eaa62d1c65f5fb4e198212de107d0f255d3 (patch) | |
tree | 19daed7336bf46de5c1b519f9e193c9207d85fce /scene | |
parent | 10b678a8067547728b46c5602f88e31870174b8b (diff) | |
parent | 46fd51056a1e4a59c9e5b351c12f51cc062db009 (diff) |
Merge pull request #39524 from KoBeWi/follow_me_bro
Re-enable scroll follow on RichTextLabel clear
Diffstat (limited to 'scene')
-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(); |