Re-enable scroll follow on RichTextLabel clear
(cherry picked from commit 46fd51056a
)
This commit is contained in:
parent
42312d7d4d
commit
2f04896b0e
|
@ -1968,6 +1968,9 @@ void RichTextLabel::clear() {
|
||||||
selection.click = NULL;
|
selection.click = NULL;
|
||||||
selection.active = false;
|
selection.active = false;
|
||||||
current_idx = 1;
|
current_idx = 1;
|
||||||
|
if (scroll_follow) {
|
||||||
|
scroll_following = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void RichTextLabel::set_tab_size(int p_spaces) {
|
void RichTextLabel::set_tab_size(int p_spaces) {
|
||||||
|
|
Loading…
Reference in New Issue