Re-enable scroll follow on RichTextLabel clear

This commit is contained in:
Tomasz Chabora 2020-06-14 01:23:32 +02:00
parent 58034f3982
commit 46fd51056a
1 changed files with 3 additions and 0 deletions

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