Changed location of renaming box for ActorTreeNodes to start at the label for better UX.

This commit is contained in:
Chandler Cox
2022-12-08 16:06:39 -06:00
parent 5a50656249
commit ad0aadbf29

View File

@@ -282,7 +282,7 @@ namespace FlaxEditor.SceneGraph.GUI
(window as PrefabWindow).ScrollingOnTreeView(false);
// Start renaming the actor
var dialog = RenamePopup.Show(this, HeaderRect, _actorNode.Name, false);
var dialog = RenamePopup.Show(this, TextRect, _actorNode.Name, false);
dialog.Renamed += OnRenamed;
dialog.Closed += popup =>
{