diff --git a/Source/Editor/Options/InterfaceOptions.cs b/Source/Editor/Options/InterfaceOptions.cs index f7cc7107a..3417f72a0 100644 --- a/Source/Editor/Options/InterfaceOptions.cs +++ b/Source/Editor/Options/InterfaceOptions.cs @@ -376,11 +376,11 @@ namespace FlaxEditor.Options public float ConnectionCurvature { get; set; } = 1.0f; /// - /// Gets or sets the visject connection curvature. + /// Gets or sets a value that indicates wether the context menu description panel is shown or not. /// [DefaultValue(true)] - [EditorDisplay("Visject"), EditorOrder(550), Tooltip("Shows/hides the description panel in the visual scripting context menu.")] - public bool VisualScriptingDescriptionPanel { get; set; } = true; + [EditorDisplay("Visject"), EditorOrder(550), Tooltip("Shows/hides the description panel in visual scripting context menu.")] + public bool NodeDescriptionPanel { get; set; } = true; /// /// Gets or sets the surface grid snapping option. diff --git a/Source/Editor/Surface/ContextMenu/VisjectCM.cs b/Source/Editor/Surface/ContextMenu/VisjectCM.cs index 1f70cd645..f31f1245a 100644 --- a/Source/Editor/Surface/ContextMenu/VisjectCM.cs +++ b/Source/Editor/Surface/ContextMenu/VisjectCM.cs @@ -809,7 +809,7 @@ namespace FlaxEditor.Surface.ContextMenu if (!_useDescriptionPanel) return; - if (archetype == null || !Editor.Instance.Options.Options.Interface.VisualScriptingDescriptionPanel) + if (archetype == null || !Editor.Instance.Options.Options.Interface.NodeDescriptionPanel) { HideDescriptionPanel(); return;