Browse Source

Merge pull request #42999 from Mallos/fix/tilemap-icon2

fix(editor): Create new icon for TileMap Rectangle
Rémi Verschelde 5 years ago
parent
commit
5d2d3787cd
2 changed files with 2 additions and 1 deletions
  1. 1 0
      editor/icons/Rectangle.svg
  2. 1 1
      editor/plugins/tile_map_editor_plugin.cpp

+ 1 - 0
editor/icons/Rectangle.svg

@@ -0,0 +1 @@
+<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><rect fill="none" height="8" rx=".000017" stroke="#e0e0e0" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2" width="12" x="2" y="4"/></svg>

+ 1 - 1
editor/plugins/tile_map_editor_plugin.cpp

@@ -65,7 +65,7 @@ void TileMapEditor::_notification(int p_what) {
 
 			paint_button->set_icon(get_theme_icon("Edit", "EditorIcons"));
 			line_button->set_icon(get_theme_icon("CurveLinear", "EditorIcons"));
-			rectangle_button->set_icon(get_theme_icon("RectangleShape2D", "EditorIcons"));
+			rectangle_button->set_icon(get_theme_icon("Rectangle", "EditorIcons"));
 			bucket_fill_button->set_icon(get_theme_icon("Bucket", "EditorIcons"));
 			picker_button->set_icon(get_theme_icon("ColorPick", "EditorIcons"));
 			select_button->set_icon(get_theme_icon("ActionCopy", "EditorIcons"));