1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-26 15:46:23 +00:00

Tweak the disabled files text color in FileDialog for readability

Contrast rate is still fairly low, but the text needs to be easy enough
to distinguish from non-disabled items.

(cherry picked from commit 8962d2760d)
This commit is contained in:
Hugo Locurcio
2022-05-20 16:07:49 +02:00
committed by Rémi Verschelde
parent 4a03bc8f75
commit 548c511f57
2 changed files with 2 additions and 2 deletions

View File

@@ -784,7 +784,7 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, const
theme->set_icon("file", "FileDialog", make_icon(icon_file_png));
theme->set_color("folder_icon_modulate", "FileDialog", Color(1, 1, 1));
theme->set_color("file_icon_modulate", "FileDialog", Color(1, 1, 1));
theme->set_color("files_disabled", "FileDialog", Color(0, 0, 0, 0.7));
theme->set_color("files_disabled", "FileDialog", Color(1, 1, 1, 0.25));
// ColorPicker