Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/Sentry.Unity.Editor/ConfigurationWindow/SentryWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ public static void OpenSentryWindow()
public event Action<ValidationError> OnValidationError = _ => { };

private int _currentTab = 0;
private Vector2 _scrollPosition = Vector2.zero;
private readonly string[] _tabs =
{
"Core",
Expand Down Expand Up @@ -134,6 +135,8 @@ private void OnGUI()
EditorGUI.DrawRect(EditorGUILayout.GetControlRect(false, 1), Color.gray);
EditorGUILayout.Space();

_scrollPosition = EditorGUILayout.BeginScrollView(_scrollPosition);

switch (_currentTab)
{
case 0:
Expand Down Expand Up @@ -161,6 +164,8 @@ private void OnGUI()
break;
}

EditorGUILayout.EndScrollView();

EditorGUI.EndDisabledGroup();
}

Expand Down
Loading