We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8760a8 commit b7714b8Copy full SHA for b7714b8
Assets/HoloToolkit/Input/Scripts/Cursor/Cursor.cs
@@ -395,6 +395,7 @@ public virtual void OnSourceLost(SourceStateEventData eventData)
395
if (visibleHandsCount == 0)
396
{
397
IsHandVisible = false;
398
+ IsInputSourceDown = false;
399
}
400
401
@@ -421,10 +422,6 @@ public virtual CursorStateEnum CheckCursorState()
421
422
423
return CursorStateEnum.Select;
424
- else if (IsInputSourceDown && visibleHandsCount == 0)
425
- {
426
- IsInputSourceDown = false;
427
- }
428
else if (cursorState == CursorStateEnum.Select)
429
430
return CursorStateEnum.Release;
0 commit comments