From cbe97ef3f001ba18b9eed404fd5235d1003138a2 Mon Sep 17 00:00:00 2001 From: honzapatCZ Date: Sun, 7 Mar 2021 22:42:14 +0100 Subject: [PATCH] typo --- Source/Editor/CustomEditors/Editors/GenericEditor.cs | 2 +- Source/Editor/Options/GeneralOptions.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Editor/CustomEditors/Editors/GenericEditor.cs b/Source/Editor/CustomEditors/Editors/GenericEditor.cs index f430dbf61..eec715a6b 100644 --- a/Source/Editor/CustomEditors/Editors/GenericEditor.cs +++ b/Source/Editor/CustomEditors/Editors/GenericEditor.cs @@ -173,7 +173,7 @@ namespace FlaxEditor.CustomEditors.Editors return string.Compare(Display.Group, other.Display.Group, StringComparison.InvariantCulture); } - if(Editor.Instance.Options.Options.General.ScritpMembersOrder == Options.GeneralOptions.MembersOrder.Declaration) + if(Editor.Instance.Options.Options.General.ScriptMembersOrder == Options.GeneralOptions.MembersOrder.Declaration) { // By declaration order if (Info.MetadataToken > other.Info.MetadataToken) diff --git a/Source/Editor/Options/GeneralOptions.cs b/Source/Editor/Options/GeneralOptions.cs index 2a6a4c0b5..8d3948220 100644 --- a/Source/Editor/Options/GeneralOptions.cs +++ b/Source/Editor/Options/GeneralOptions.cs @@ -138,8 +138,8 @@ namespace FlaxEditor.Options /// Gets or sets a value indicating whether automatically save the Visual Script asset editors when starting the play mode in editor. /// [DefaultValue(true)] - [EditorDisplay("Scripting", "Scritp Members Order"), EditorOrder(503), Tooltip("Sets the order of script properties/fields")] - public MembersOrder ScritpMembersOrder { get; set; } = MembersOrder.Alphabetical; + [EditorDisplay("Scripting", "Script Members Order"), EditorOrder(503), Tooltip("Sets the order of script properties/fields")] + public MembersOrder ScriptMembersOrder { get; set; } = MembersOrder.Alphabetical; /// /// Gets or sets a value indicating whether automatically save the Visual Script asset editors when starting the play mode in editor.