Set dialog folder icon color

This commit is contained in:
naeu 2021-09-27 19:10:20 +01:00
parent 65ab9130e1
commit 9fb7efdf16

View file

@ -42,6 +42,7 @@ void EditorDirDialog::_update_dir(TreeItem *p_item, EditorFileSystemDirectory *p
p_item->set_metadata(0, p_dir->get_path()); p_item->set_metadata(0, p_dir->get_path());
p_item->set_icon(0, get_icon("Folder", "EditorIcons")); p_item->set_icon(0, get_icon("Folder", "EditorIcons"));
p_item->set_icon_modulate(0, get_color("folder_icon_modulate", "FileDialog"));
if (!p_item->get_parent()) { if (!p_item->get_parent()) {
p_item->set_text(0, "res://"); p_item->set_text(0, "res://");