From 67acdfcf02a475681613aad7d8e90d4dbae73985 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Mon, 1 Feb 2021 20:02:28 +0100 Subject: [PATCH] Make the Open Project Folder button more visible in the project manager This closes https://github.com/godotengine/godot-proposals/issues/619. (cherry picked from commit 04cbfbe6b2745221c946fbd791b79ac933b859ec) --- editor/project_manager.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/editor/project_manager.cpp b/editor/project_manager.cpp index 71e9ece73a9..90f1072f69f 100644 --- a/editor/project_manager.cpp +++ b/editor/project_manager.cpp @@ -1378,11 +1378,10 @@ void ProjectList::create_project_item_control(int p_index) { vb->add_child(path_hb); Button *show = memnew(Button); - // Display a folder icon if the project directory can be opened, or a "broken file" icon if it can't + // Display a folder icon if the project directory can be opened, or a "broken file" icon if it can't. show->set_icon(get_icon(!item.missing ? "Load" : "FileBroken", "EditorIcons")); - show->set_flat(true); if (!item.grayed) { - // Don't make the icon less prominent if the parent is already grayed out + // Don't make the icon less prominent if the parent is already grayed out. show->set_modulate(Color(1, 1, 1, 0.5)); } path_hb->add_child(show);