Forráskód Böngészése

Fix grayed out paint icons

MewPurPur 2 éve
szülő
commit
c094631ba0

+ 1 - 1
editor/filesystem_dock.cpp

@@ -2925,7 +2925,7 @@ void FileSystemDock::_file_and_folders_fill_popup(PopupMenu *p_popup, Vector<Str
 
 			p_popup->add_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")));

+ 1 - 0
editor/icons/Paint.svg

@@ -0,0 +1 @@
+<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M2.92 10c-.263.3-.42.73-.42 1.238 0 1.628-3.138-.178-.337 2.67.884.9 2.654.67 3.538-.228a2.33 2.33 0 0 0 0-3.256c-1.1-1.119-2.2-1.084-2.78-.424zm2.3-1.64 2.4 2.4 6.8-6.8a1.7 1.7 0 0 0-2.4-2.45z" fill="#e0e0e0"/></svg>

+ 1 - 1
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")));