mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 06:01:14 +00:00
Rename empty() to is_empty()
This commit is contained in:
parent
886571e0fc
commit
5b937d493f
289 changed files with 898 additions and 898 deletions
|
|
@ -165,7 +165,7 @@ void AcceptDialog::register_text_enter(Node *p_line_edit) {
|
|||
|
||||
void AcceptDialog::_update_child_rects() {
|
||||
Size2 label_size = label->get_minimum_size();
|
||||
if (label->get_text().empty()) {
|
||||
if (label->get_text().is_empty()) {
|
||||
label_size.height = 0;
|
||||
}
|
||||
int margin = hbc->get_theme_constant("margin", "Dialogs");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue