diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-02-01 20:42:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-01 20:42:15 +0100 |
commit | 46a2cc614106f987fe12f2e8cb810d2422d1aede (patch) | |
tree | b0888893020ac75380f4fa62cc7e57c178b13823 | |
parent | 74091a1974567d3525be02365734932034467d7b (diff) | |
parent | 04cbfbe6b2745221c946fbd791b79ac933b859ec (diff) |
Merge pull request #45642 from Calinou/project-manager-increase-folder-button-visibility
Make the Open Project Folder button more visible in the project manager
-rw-r--r-- | editor/project_manager.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/editor/project_manager.cpp b/editor/project_manager.cpp index e46b2711c1..a0eb923bc5 100644 --- a/editor/project_manager.cpp +++ b/editor/project_manager.cpp @@ -1375,11 +1375,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_theme_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); |