From 7cfde78198d9b30ac3cc6eb8fa148f4b379e98b4 Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Sun, 27 Nov 2022 21:05:20 +0100 Subject: [PATCH] Code style fix --- Source/Editor/Windows/ContentWindow.cs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Source/Editor/Windows/ContentWindow.cs b/Source/Editor/Windows/ContentWindow.cs index 3cac8c434..22808a1f1 100644 --- a/Source/Editor/Windows/ContentWindow.cs +++ b/Source/Editor/Windows/ContentWindow.cs @@ -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); }