mirror of https://github.com/godotengine/godot
Merge pull request #39524 from KoBeWi/follow_me_bro
Re-enable scroll follow on RichTextLabel clear
This commit is contained in:
commit
98f47eaa62
|
|
@ -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