Skip to content

Commit

Permalink
#18 Trigger select event when screen is touch (Android Chrome does no…
Browse files Browse the repository at this point in the history
…t trigger select event)
  • Loading branch information
Rufus31415 committed Jan 17, 2021
1 parent ebd9d08 commit 9aa9629
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public void UpdateController(WebXRInputSource controller)
}
break;
case DeviceInputType.Select:
Interactions[i].BoolData = isSelecting;
Interactions[i].BoolData = isSelecting || controller.TargetRayMode == WebXRTargetRayModes.Screen;

if (Interactions[i].Changed)
{
Expand Down

0 comments on commit 9aa9629

Please # to comment.