Code style fix

This commit is contained in:
Wojtek Figat
2022-10-12 18:55:24 +02:00
parent 95e60ea68e
commit b0f4f8d636
2 changed files with 8 additions and 8 deletions

View File

@@ -273,7 +273,7 @@ namespace FlaxEditor.SceneGraph.GUI
Select();
// disable scrolling of scene view
// Disable scrolling of scene view
Editor.Instance.Windows.SceneWin.ScrollingOnSceneTreeView(false);
// Start renaming the actor
@@ -281,7 +281,7 @@ namespace FlaxEditor.SceneGraph.GUI
dialog.Renamed += OnRenamed;
dialog.Closed += popup =>
{
// enable scrolling of scene view
// Enable scrolling of scene view
Editor.Instance.Windows.SceneWin.ScrollingOnSceneTreeView(true);
};
}
@@ -291,7 +291,7 @@ namespace FlaxEditor.SceneGraph.GUI
using (new UndoBlock(ActorNode.Root.Undo, Actor, "Rename"))
Actor.Name = renamePopup.Text;
// enable scrolling of scene view
// Enable scrolling of scene view
Editor.Instance.Windows.SceneWin.ScrollingOnSceneTreeView(true);
}

View File

@@ -199,7 +199,7 @@ namespace FlaxEditor.Windows
}
/// <summary>
/// Enables or disables vertical and horizontal scrolling on the scene tree panel
/// Enables or disables vertical and horizontal scrolling on the scene tree panel.
/// </summary>
/// <param name="enabled">The state to set scrolling to</param>
public void ScrollingOnSceneTreeView(bool enabled)