1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-11 13:10:58 +00:00

Add a flag to EditorResourcePicker to differentiate selection contexts

This commit is contained in:
Yuri Sizov
2021-11-02 14:35:15 +03:00
parent 87727f70ed
commit 67cbca341a
6 changed files with 10 additions and 9 deletions

View File

@@ -2848,7 +2848,7 @@ void ThemeTypeEditor::_font_size_item_changed(float p_value, String p_item_name)
edited_theme->set_font_size(p_item_name, edited_type, int(p_value));
}
void ThemeTypeEditor::_edit_resource_item(RES p_resource) {
void ThemeTypeEditor::_edit_resource_item(RES p_resource, bool p_edit) {
EditorNode::get_singleton()->edit_resource(p_resource);
}