Skip to content

Commit aefd35d

Browse files
committed
Fix indentation in IconCategories dictionary
Corrected inconsistent indentation in the IconCategories dictionary definition within IconPickerWidget.cs for improved code readability and consistency.
1 parent bb7a7c1 commit aefd35d

1 file changed

Lines changed: 29 additions & 29 deletions

File tree

game/addons/tools/Code/Widgets/IconPicker/IconPickerWidget.cs

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -469,33 +469,33 @@ public static void OpenPopup( Widget parent, string icon, Action<string> onChang
469469
"train", "tram", "transfer_within_a_station", "zoom_out_map"
470470
};
471471

472-
static readonly Dictionary<string, string[]> IconCategories = new()
473-
{
474-
["Recently Used"] = Array.Empty<string>(),
475-
["Main"] = MainIcons,
476-
["Action"] = ActionIcons,
477-
["Navigation"] = NavigationIcons,
478-
["Content"] = ContentIcons,
479-
["Communication"] = CommunicationIcons,
480-
["Editor"] = EditorIcons,
481-
["File"] = FileIcons,
482-
["Hardware"] = HardwareIcons,
483-
["Social"] = SocialIcons,
484-
["Toggle"] = ToggleIcons,
485-
["Maps"] = MapsIcons,
486-
["All Icons"] = MainIcons
487-
.Concat( ActionIcons )
488-
.Concat( NavigationIcons )
489-
.Concat( ContentIcons )
490-
.Concat( CommunicationIcons )
491-
.Concat( EditorIcons )
492-
.Concat( FileIcons )
493-
.Concat( HardwareIcons )
494-
.Concat( SocialIcons )
495-
.Concat( ToggleIcons )
496-
.Concat( MapsIcons )
497-
.Distinct()
498-
.OrderBy( x => x )
499-
.ToArray()
500-
};
472+
static readonly Dictionary<string, string[]> IconCategories = new()
473+
{
474+
["Recently Used"] = Array.Empty<string>(),
475+
["Main"] = MainIcons,
476+
["Action"] = ActionIcons,
477+
["Navigation"] = NavigationIcons,
478+
["Content"] = ContentIcons,
479+
["Communication"] = CommunicationIcons,
480+
["Editor"] = EditorIcons,
481+
["File"] = FileIcons,
482+
["Hardware"] = HardwareIcons,
483+
["Social"] = SocialIcons,
484+
["Toggle"] = ToggleIcons,
485+
["Maps"] = MapsIcons,
486+
["All Icons"] = MainIcons
487+
.Concat( ActionIcons )
488+
.Concat( NavigationIcons )
489+
.Concat( ContentIcons )
490+
.Concat( CommunicationIcons )
491+
.Concat( EditorIcons )
492+
.Concat( FileIcons )
493+
.Concat( HardwareIcons )
494+
.Concat( SocialIcons )
495+
.Concat( ToggleIcons )
496+
.Concat( MapsIcons )
497+
.Distinct()
498+
.OrderBy( x => x )
499+
.ToArray()
500+
};
501501
}

0 commit comments

Comments
 (0)