diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-04-18 12:24:30 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-04-18 12:24:30 +0200 |
commit | 1a89b60549d89de4f27994855967a23f5a68f05d (patch) | |
tree | 53821beda36a1f99523b8dd52ad9074118cba9ea /editor/filesystem_dock.h | |
parent | d2ec3714d70af5309ab4114ec1b2b4f66b3bec27 (diff) | |
parent | c8ef9e6955882a04c7c2d1801cc911a1594c8f9f (diff) | |
download | redot-engine-1a89b60549d89de4f27994855967a23f5a68f05d.tar.gz |
Merge pull request #90651 from Muller-Castro/folder-color
Fix folder colors not present in editor dir dialog
Diffstat (limited to 'editor/filesystem_dock.h')
-rw-r--r-- | editor/filesystem_dock.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/editor/filesystem_dock.h b/editor/filesystem_dock.h index 8830f31d2d..f514de15e5 100644 --- a/editor/filesystem_dock.h +++ b/editor/filesystem_dock.h @@ -381,6 +381,11 @@ protected: static void _bind_methods(); public: + static constexpr double ITEM_COLOR_SCALE = 1.75; + static constexpr double ITEM_ALPHA_MIN = 0.1; + static constexpr double ITEM_ALPHA_MAX = 0.15; + static constexpr double ITEM_BG_DARK_SCALE = 0.3; + const HashMap<String, Color> &get_folder_colors() const; Dictionary get_assigned_folder_colors() const; |