Merge pull request #53143 from naeu/fix_folder_icon_3.x

[3.x] Set directory dialog folder icon color
This commit is contained in:
Rémi Verschelde 2021-09-27 23:47:43 +02:00 committed by GitHub
commit 5807586188
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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_icon(0, get_icon("Folder", "EditorIcons"));
p_item->set_icon_modulate(0, get_color("folder_icon_modulate", "FileDialog"));
if (!p_item->get_parent()) {
p_item->set_text(0, "res://");