You've already forked godot
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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user