From 19964a827d7bda21e2e765598d5cdcba90dd9e1e Mon Sep 17 00:00:00 2001 From: "David Kline (ANALOG)" Date: Wed, 9 May 2018 14:29:16 -0700 Subject: [PATCH] fix #1887, dev branch --- Assets/MixedRealityToolkit/UX/Scripts/Buttons/Button.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/MixedRealityToolkit/UX/Scripts/Buttons/Button.cs b/Assets/MixedRealityToolkit/UX/Scripts/Buttons/Button.cs index 047df028100..4bda4eea98d 100644 --- a/Assets/MixedRealityToolkit/UX/Scripts/Buttons/Button.cs +++ b/Assets/MixedRealityToolkit/UX/Scripts/Buttons/Button.cs @@ -271,7 +271,7 @@ public void OnSourceLost(SourceStateEventData eventData) if (sourceInfo == InteractionSourceInfo.Hand) { _handCount--; - _bHandVisible = _handCount <= 0; + _bHandVisible = _handCount > 0; } } }