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

RichTextLabel: clear the scroll offset.

This commit is contained in:
allkhor
2018-11-23 23:54:49 +06:00
parent c48027af92
commit 970dc91cb7

View File

@@ -1616,6 +1616,7 @@ void RichTextLabel::clear() {
main->lines.clear();
main->lines.resize(1);
main->first_invalid_line = 0;
scroll_w = 0;
update();
selection.click = NULL;
selection.active = false;