Skip to content

Commit 9e8ab76

Browse files
committed
Use consistent EventType case
1 parent 567339d commit 9e8ab76

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

RuntimeUnityEditor.Core/Utils/ComboBox.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public void Show(Action<int> onItemSelected)
5757
var controlID = GUIUtility.GetControlID(FocusType.Passive);
5858

5959
Vector2 currentMousePosition = Vector2.zero;
60-
if (Event.current.GetTypeForControl(controlID) == EventType.mouseUp)
60+
if (Event.current.GetTypeForControl(controlID) == EventType.MouseUp)
6161
{
6262
if (isClickedComboButton)
6363
{

RuntimeUnityEditor.Core/Windows/ObjectTree/ObjectTreeViewer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ private void DisplayObjectTreeHelper(GameObject go, int indent, ref int currentC
207207
}
208208
GUILayout.EndHorizontal();
209209

210-
if (Event.current.type == EventType.repaint)
210+
if (Event.current.type == EventType.Repaint)
211211
{
212212
if (needsHeightMeasure)
213213
{

RuntimeUnityEditor.Core/Windows/Profiler/ProfilerWindow.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ protected override void DrawContents()
210210
}
211211
GUILayout.EndHorizontal();
212212

213-
if (needsHeightMeasure && Event.current.type == EventType.repaint)
213+
if (needsHeightMeasure && Event.current.type == EventType.Repaint)
214214
_singleObjectTreeItemHeight = Mathf.CeilToInt(GUILayoutUtility.GetLastRect().height);
215215
}
216216
else

0 commit comments

Comments
 (0)