Skip to content

Commit 7a3fdff

Browse files
author
lawwong
committed
Now recommanded settings button will show up in VIUSettings if there's ignored settings
1 parent 14f5c07 commit 7a3fdff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/HTC.UnityPlugin/ViveInputUtility/Scripts/Editor/VIUSettingsEditor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1045,7 +1045,7 @@ private static void ShowAddPackageButton(string displayName, string identifier,
10451045

10461046
private static void ShowCheckRecommendedSettingsButton()
10471047
{
1048-
if (VIUVersionCheck.notifiedSettingsCount <= 0) { return; }
1048+
if (VIUVersionCheck.notifiedSettingsCount == 0 && VIUVersionCheck.ignoredSettingsCount == 0) { return; }
10491049

10501050
if (GUILayout.Button("View Recommended Settings", GUILayout.ExpandWidth(false)))
10511051
{

0 commit comments

Comments
 (0)