diff --git a/Source/Editor/CustomEditors/Dedicated/ScriptsEditor.cs b/Source/Editor/CustomEditors/Dedicated/ScriptsEditor.cs index 9227dac06..852fd99c5 100644 --- a/Source/Editor/CustomEditors/Dedicated/ScriptsEditor.cs +++ b/Source/Editor/CustomEditors/Dedicated/ScriptsEditor.cs @@ -880,6 +880,13 @@ namespace FlaxEditor.CustomEditors.Dedicated group.Panel.HeaderTextMargin = new Margin(scriptDrag.Right - 12, 15, 2, 2); group.Object(values, editor); + // Remove drop down arrows and containment lines if no objects in the group + if (group.Children.Count == 0) + { + group.Panel.ArrowImageOpened = null; + group.Panel.ArrowImageClosed = null; + group.Panel.EnableContainmentLines = false; + } // Scripts arrange bar dragBar = layout.Custom();