Re-enable scroll follow on RichTextLabel clear
This commit is contained in:
parent
58034f3982
commit
46fd51056a
|
@ -1970,6 +1970,9 @@ void RichTextLabel::clear() {
|
||||||
selection.click = nullptr;
|
selection.click = nullptr;
|
||||||
selection.active = false;
|
selection.active = false;
|
||||||
current_idx = 1;
|
current_idx = 1;
|
||||||
|
if (scroll_follow) {
|
||||||
|
scroll_following = true;
|
||||||
|
}
|
||||||
|
|
||||||
if (fixed_width != -1) {
|
if (fixed_width != -1) {
|
||||||
minimum_size_changed();
|
minimum_size_changed();
|
||||||
|
|
Loading…
Reference in New Issue