diff --git a/src/UI/AccountOptionsMenu.cs b/src/UI/AccountOptionsMenu.cs index 635b7463..c7877b46 100644 --- a/src/UI/AccountOptionsMenu.cs +++ b/src/UI/AccountOptionsMenu.cs @@ -88,6 +88,9 @@ public void OpenProfileInBrowser() profileURL += "?ref=steam"; } +#if STEAM_VR + Valve.VR.OpenVR.Overlay.ShowDashboard("valve.steam.desktop"); +#endif Application.OpenURL(profileURL); this.viewProfileButton.interactable = true; } diff --git a/src/UI/Utility/UIUtilities.cs b/src/UI/Utility/UIUtilities.cs index e6d0a56f..6dcb30f6 100644 --- a/src/UI/Utility/UIUtilities.cs +++ b/src/UI/Utility/UIUtilities.cs @@ -77,6 +77,9 @@ public static void OpenYouTubeVideoURL(string youTubeVideoId) { if(!String.IsNullOrEmpty(youTubeVideoId)) { +#if STEAM_VR + Valve.VR.OpenVR.Overlay.ShowDashboard("valve.steam.desktop"); +#endif Application.OpenURL(@"https://youtu.be/" + youTubeVideoId); } } diff --git a/src/UI/Utility/WebLinkFollower.cs b/src/UI/Utility/WebLinkFollower.cs index c9d7bba5..bb31d70b 100644 --- a/src/UI/Utility/WebLinkFollower.cs +++ b/src/UI/Utility/WebLinkFollower.cs @@ -6,6 +6,9 @@ public class WebLinkFollower : MonoBehaviour { public void OpenBrowserAt(string url) { +#if STEAM_VR + Valve.VR.OpenVR.Overlay.ShowDashboard("valve.steam.desktop"); +#endif Application.OpenURL(url); } }