Merge pull request #39524 from KoBeWi/follow_me_bro

Re-enable scroll follow on RichTextLabel clear
This commit is contained in:
Rémi Verschelde 2020-06-14 10:13:21 +02:00 committed by GitHub
commit 98f47eaa62
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();