1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-07 19:53:17 +00:00

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

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