From 975cc790855be9b62d2f48c6066a9bca32508c7e Mon Sep 17 00:00:00 2001 From: xxSeys1 Date: Sun, 16 Mar 2025 22:18:21 +0100 Subject: [PATCH] code style fixes --- Source/Editor/CustomEditors/GUI/PropertiesList.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/Editor/CustomEditors/GUI/PropertiesList.cs b/Source/Editor/CustomEditors/GUI/PropertiesList.cs index 43b05f483..60bafc215 100644 --- a/Source/Editor/CustomEditors/GUI/PropertiesList.cs +++ b/Source/Editor/CustomEditors/GUI/PropertiesList.cs @@ -15,8 +15,8 @@ namespace FlaxEditor.CustomEditors.GUI { // TODO: sync splitter for whole presenter - private const float splitterPadding = 15; - private const float editorsMinWdithRatio = 0.4f; + private const float SplitterPadding = 15; + private const float EditorsMinWidthRatio = 0.4f; /// /// The splitter size (in pixels). @@ -87,12 +87,12 @@ namespace FlaxEditor.CustomEditors.GUI { Label currentLabel = _element.Labels[i]; Float2 dimensions = font.MeasureText(currentLabel.Text); - float width = dimensions.X + currentLabel.Margin.Left + splitterPadding; + float width = dimensions.X + currentLabel.Margin.Left + SplitterPadding; largestWidth = Mathf.Max(largestWidth, width); } - SplitterValue = Mathf.Clamp(largestWidth / Width, 0, 1 - editorsMinWdithRatio); + SplitterValue = Mathf.Clamp(largestWidth / Width, 0, 1 - EditorsMinWidthRatio); } private void UpdateSplitRect()