Skip to content

Commit 45d4fb2

Browse files
Merge pull request #2867 from ryzngard/ryzn/diagnostic_ui_fix
Fix copy+paste errors in diagnostic code
2 parents c3e7353 + 6ec04fd commit 45d4fb2

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

Assets/MixedRealityToolkit-SDK/Features/Diagnostics/MixedRealityDiagnosticsManager.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
using Microsoft.MixedReality.Toolkit.Core.Definitions.Diagnostics;
2-
using Microsoft.MixedReality.Toolkit.Core.EventDatum.Boundary;
2+
using Microsoft.MixedReality.Toolkit.Core.EventDatum.Diagnostics;
33
using Microsoft.MixedReality.Toolkit.Core.Interfaces.Diagnostics;
44
using Microsoft.MixedReality.Toolkit.Core.Managers;
55
using Microsoft.MixedReality.Toolkit.Core.Utilities;
@@ -83,7 +83,7 @@ private void RaiseDiagnosticsChanged()
8383
}
8484

8585
/// <summary>
86-
/// Event sent whenever the boundary visualization changes.
86+
/// Event sent whenever the diagnostics visualization changes.
8787
/// </summary>
8888
private static readonly ExecuteEvents.EventFunction<IMixedRealityDiagnosticsHandler> OnDiagnosticsChanged =
8989
delegate (IMixedRealityDiagnosticsHandler handler, BaseEventData eventData)

Assets/MixedRealityToolkit/_Core/EventDatum/Diagnostics/DiagnosticsEventData.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using Microsoft.MixedReality.Toolkit.Core.Interfaces.Diagnostics;
66
using UnityEngine.EventSystems;
77

8-
namespace Microsoft.MixedReality.Toolkit.Core.EventDatum.Boundary
8+
namespace Microsoft.MixedReality.Toolkit.Core.EventDatum.Diagnostics
99
{
1010
public class DiagnosticsEventData : GenericBaseEventData
1111
{

Assets/MixedRealityToolkit/_Core/Inspectors/Profiles/MixedRealityDiagnosticsSystemProfileInspector.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ public override void OnInspectorGUI()
4343
}
4444

4545
EditorGUILayout.Space();
46-
EditorGUILayout.LabelField("Boundary Visualization Options", EditorStyles.boldLabel);
47-
EditorGUILayout.HelpBox("Boundary visualizations can help users stay oriented and comfortable in the experience.", MessageType.Info);
46+
EditorGUILayout.LabelField("Diagnostic Visualization Options", EditorStyles.boldLabel);
47+
EditorGUILayout.HelpBox("Diagnostic visualizations can help monitor system resources and performance inside an application.", MessageType.Info);
4848
EditorGUILayout.Space();
4949

5050
EditorGUILayout.PropertyField(visible);

Assets/MixedRealityToolkit/_Core/Interfaces/Diagnostics/IMixedRealityDiagnosticsHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
22
// Licensed under the MIT License. See LICENSE in the project root for license information.
33

4-
using Microsoft.MixedReality.Toolkit.Core.EventDatum.Boundary;
4+
using Microsoft.MixedReality.Toolkit.Core.EventDatum.Diagnostics;
55
using UnityEngine.EventSystems;
66

77
namespace Microsoft.MixedReality.Toolkit.Core.Interfaces.Diagnostics

0 commit comments

Comments
 (0)