Skip to content

Commit 2100a33

Browse files
committed
Minor refactor changes
1 parent 1d4b727 commit 2100a33

File tree

3 files changed

+0
-7
lines changed

3 files changed

+0
-7
lines changed

Assets/Editor Toolbox/Editor/Internal/PropertyScope.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ public PropertyScope(SerializedProperty property, GUIContent label, bool closeMa
2929
TryDrawLabel(rect, label);
3030
}
3131

32-
3332
private void HandleEvents(Rect rect)
3433
{
3534
if (property.isArray)
@@ -56,7 +55,6 @@ private void TryDrawLabel(Rect rect, GUIContent label)
5655
}
5756
}
5857

59-
6058
public void Close()
6159
{
6260
ToolboxEditorGui.CloseProperty();
@@ -73,7 +71,6 @@ public void Dispose()
7371
Close();
7472
}
7573

76-
7774
public bool IsVisible => property.isExpanded;
7875
public Rect LabelRect { get; private set; }
7976
public Rect InputRect { get; private set; }

Assets/Editor Toolbox/Editor/ToolboxEditorGui.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ private static Rect GetLineRect(Rect rect, float thickness, float padding, bool
2020
: new Rect(rect.x + padding / 2, rect.y, thickness, rect.height);
2121
}
2222

23-
2423
/// <summary>
2524
/// Draws horizontal line.
2625
/// Uses built-in layouting system.
@@ -248,7 +247,6 @@ public static partial class ToolboxEditorGui
248247
{
249248
private static EditorWindow lastTargetedWindow;
250249

251-
252250
/// <summary>
253251
/// Checks if user is still focusing the proper (searchable) window.
254252
/// </summary>
@@ -276,7 +274,6 @@ private static void OnPopupWindowUpdated()
276274
}
277275
}
278276

279-
280277
public static void DrawSearchablePopup(Rect rect, GUIContent label, int currentIndex, string[] options, Action<int> onSelect)
281278
{
282279
DrawSearchablePopup(rect, label, currentIndex, options, onSelect, EditorStyles.miniPullDown);

Assets/Editor Toolbox/Editor/ToolboxPropertyHandler.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,6 @@ private void ProcessLabel(SerializedProperty property, GUIContent label)
397397
}
398398
}
399399

400-
401400
/// <summary>
402401
/// Draw property using built-in layout system and cached <see cref="ToolboxAttributeDrawer"/>s.
403402
/// </summary>

0 commit comments

Comments
 (0)