Code style fix

This commit is contained in:
Wojtek Figat
2022-11-27 21:05:20 +01:00
parent 3c963330e0
commit 7cfde78198

View File

@@ -131,7 +131,7 @@ namespace FlaxEditor.Windows
ScrollBars = ScrollBars.Both,
Parent = _split.Panel1,
};
// Content structure tree
_tree = new Tree(false)
{
@@ -179,7 +179,7 @@ namespace FlaxEditor.Windows
ScrollBars = ScrollBars.Vertical,
Parent = _split.Panel2,
};
// Content View
_view = new ContentView
{
@@ -899,8 +899,10 @@ namespace FlaxEditor.Windows
public override bool OnMouseDown(Float2 location, MouseButton button)
{
// Navigate through directories using the side mouse buttons
if (button == MouseButton.Extended1) NavigateBackward();
else if (button == MouseButton.Extended2) NavigateForward();
if (button == MouseButton.Extended1)
NavigateBackward();
else if (button == MouseButton.Extended2)
NavigateForward();
return base.OnMouseDown(location, button);
}