From 9bde0f9f9b7f4b02560fa891f0a6a8c2d241b270 Mon Sep 17 00:00:00 2001 From: Chandler Cox Date: Sat, 2 Dec 2023 09:40:33 -0600 Subject: [PATCH] Fix layout of editor updating when adding a script to multiple actors in a scene. --- Source/Editor/CustomEditors/Dedicated/ScriptsEditor.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Editor/CustomEditors/Dedicated/ScriptsEditor.cs b/Source/Editor/CustomEditors/Dedicated/ScriptsEditor.cs index d7bfbbad7..c0567b533 100644 --- a/Source/Editor/CustomEditors/Dedicated/ScriptsEditor.cs +++ b/Source/Editor/CustomEditors/Dedicated/ScriptsEditor.cs @@ -245,6 +245,7 @@ namespace FlaxEditor.CustomEditors.Dedicated var multiAction = new MultiUndoAction(actions); multiAction.Do(); + ScriptsEditor.ParentEditor?.RebuildLayout(); var presenter = ScriptsEditor.Presenter; if (presenter != null) {