You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-22 15:06:45 +00:00
Resize dialogs (FileDialog, EditorFileDialog, Reparent, SceneTreeDialog and resource depency dialogs).
This commit is contained in:
@@ -340,7 +340,7 @@ void AnimationPlayerEditor::_animation_load() {
|
||||
file->add_filter("*." + E->get() + " ; " + E->get().to_upper());
|
||||
}
|
||||
|
||||
file->popup_centered_ratio();
|
||||
file->popup_file_dialog();
|
||||
current_option = RESOURCE_LOAD;
|
||||
}
|
||||
|
||||
@@ -399,8 +399,8 @@ void AnimationPlayerEditor::_animation_save_as(const Ref<Resource> &p_resource)
|
||||
}
|
||||
}
|
||||
file->set_current_path(path);
|
||||
file->popup_centered_ratio();
|
||||
file->set_title(TTR("Save Resource As..."));
|
||||
file->popup_file_dialog();
|
||||
current_option = RESOURCE_SAVE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user