From c094631ba0c37ab1abb2591ff7caf9c7f3c5397a Mon Sep 17 00:00:00 2001 From: MewPurPur Date: Sun, 17 Sep 2023 19:23:28 +0300 Subject: [PATCH] Fix grayed out paint icons --- editor/filesystem_dock.cpp | 2 +- editor/icons/Paint.svg | 1 + editor/plugins/tiles/tile_set_atlas_source_editor.cpp | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 editor/icons/Paint.svg diff --git a/editor/filesystem_dock.cpp b/editor/filesystem_dock.cpp index cef5cdb4a936..35b56caa35ce 100644 --- a/editor/filesystem_dock.cpp +++ b/editor/filesystem_dock.cpp @@ -2925,7 +2925,7 @@ void FileSystemDock::_file_and_folders_fill_popup(PopupMenu *p_popup, Vectoradd_child(folder_colors_menu); p_popup->add_submenu_item(TTR("Set Folder Color..."), "FolderColor"); - p_popup->set_item_icon(-1, get_editor_theme_icon(SNAME("CanvasItem"))); + p_popup->set_item_icon(-1, get_editor_theme_icon(SNAME("Paint"))); folder_colors_menu->add_icon_item(get_editor_theme_icon(SNAME("Folder")), TTR("Default (Reset)")); folder_colors_menu->set_item_icon_modulate(0, get_theme_color(SNAME("folder_icon_color"), SNAME("FileDialog"))); diff --git a/editor/icons/Paint.svg b/editor/icons/Paint.svg new file mode 100644 index 000000000000..eb0c62129691 --- /dev/null +++ b/editor/icons/Paint.svg @@ -0,0 +1 @@ + diff --git a/editor/plugins/tiles/tile_set_atlas_source_editor.cpp b/editor/plugins/tiles/tile_set_atlas_source_editor.cpp index a2e4c4a78462..89b5b7c4f0ea 100644 --- a/editor/plugins/tiles/tile_set_atlas_source_editor.cpp +++ b/editor/plugins/tiles/tile_set_atlas_source_editor.cpp @@ -2406,7 +2406,7 @@ void TileSetAtlasSourceEditor::_notification(int p_what) { case NOTIFICATION_THEME_CHANGED: { tool_setup_atlas_source_button->set_icon(get_editor_theme_icon(SNAME("Tools"))); tool_select_button->set_icon(get_editor_theme_icon(SNAME("ToolSelect"))); - tool_paint_button->set_icon(get_editor_theme_icon(SNAME("CanvasItem"))); + tool_paint_button->set_icon(get_editor_theme_icon(SNAME("Paint"))); tools_settings_erase_button->set_icon(get_editor_theme_icon(SNAME("Eraser"))); tool_advanced_menu_button->set_icon(get_editor_theme_icon(SNAME("GuiTabMenuHl")));