Skip to content

Commit 15e7f1f

Browse files
author
Stephen Hodgson
authored
Merge pull request #471 from bhtruong93/master
prevent cursor from disappearing on manipulation cancel
2 parents e5fc8c3 + 4b5af7c commit 15e7f1f

File tree

1 file changed

+2
-1
lines changed
  • Assets/HoloToolkit/Input/Scripts/Cursor

1 file changed

+2
-1
lines changed

Assets/HoloToolkit/Input/Scripts/Cursor/Cursor.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,7 @@ public virtual void OnSourceLost(SourceStateEventData eventData)
395395
if (visibleHandsCount == 0)
396396
{
397397
IsHandVisible = false;
398+
IsInputSourceDown = false;
398399
}
399400
}
400401

@@ -444,4 +445,4 @@ public virtual void OnCursorStateChange(CursorStateEnum state)
444445
cursorState = state;
445446
}
446447
}
447-
}
448+
}

0 commit comments

Comments
 (0)