mirror of
https://github.com/tiennm99/godot.git
synced 2026-08-13 06:23:27 +00:00
Rename instance()->instantiate() when it's a verb
This commit is contained in:
@@ -1114,7 +1114,7 @@ void TextEdit::_notification(int p_what) {
|
||||
}
|
||||
|
||||
Ref<TextLine> tl;
|
||||
tl.instance();
|
||||
tl.instantiate();
|
||||
tl->add_string(text, cache.font, cache.font_size);
|
||||
|
||||
int yofs = ofs_y + (row_height - tl->get_size().y) / 2;
|
||||
|
||||
Reference in New Issue
Block a user