Skip to content

Commit 2b08fe6

Browse files
authored
Merge pull request #9648 from mr-watts/mrwatts/bugfix-interactable-focus-reset
Fix: focus getting stuck on `Interactable` when `RequiresFocus` is `false`.
2 parents ba9d938 + e4115eb commit 2b08fe6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/MRTK/SDK/Features/UX/Interactable/Scripts/Interactable.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1302,7 +1302,7 @@ protected IEnumerator GlobalVisualReset(float time)
13021302
yield return new WaitForSeconds(time);
13031303

13041304
HasVoiceCommand = false;
1305-
if (!HasFocus)
1305+
if (HasFocus && focusingPointers.Count == 0)
13061306
{
13071307
HasFocus = false;
13081308
}

0 commit comments

Comments
 (0)