mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 12:12:28 +00:00
Set dialog folder icon color
This commit is contained in:
parent
27417c065d
commit
e2b58ef4dc
@ -44,6 +44,7 @@ void EditorDirDialog::_update_dir(TreeItem *p_item, EditorFileSystemDirectory *p
|
||||
|
||||
p_item->set_metadata(0, p_dir->get_path());
|
||||
p_item->set_icon(0, tree->get_theme_icon(SNAME("Folder"), SNAME("EditorIcons")));
|
||||
p_item->set_icon_modulate(0, tree->get_theme_color(SNAME("folder_icon_modulate"), SNAME("FileDialog")));
|
||||
|
||||
if (!p_item->get_parent()) {
|
||||
p_item->set_text(0, "res://");
|
||||
|
Loading…
Reference in New Issue
Block a user