Rename instance()->instantiate() when it's a verb
This commit is contained in:
@@ -543,7 +543,7 @@ void Button::_bind_methods() {
|
||||
}
|
||||
|
||||
Button::Button(const String &p_text) {
|
||||
text_buf.instance();
|
||||
text_buf.instantiate();
|
||||
text_buf->set_flags(TextServer::BREAK_MANDATORY);
|
||||
|
||||
set_mouse_filter(MOUSE_FILTER_STOP);
|
||||
|
||||
Reference in New Issue
Block a user