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 d16f727 commit 938d945Copy full SHA for 938d945
src/utils/device.js
@@ -128,7 +128,7 @@ function isAppleVisionPro () {
128
var isMacintosh = navigator.userAgent.includes('Macintosh');
129
// Discriminates between a "real" desktop browser and Safari for Vision Pro.
130
var hasFiveTouchPoints = navigator.maxTouchPoints === 5;
131
- // isWebXRAvailable discriminates between Vision Pro and iPad / iPhone.
+ // isWebXRAvailable discriminates between Vision Pro and iPad / iPhone.
132
// This will no longer work once WebXR ships in iOS / iPad OS.
133
return isMacintosh && hasFiveTouchPoints && isWebXRAvailable;
134
}
0 commit comments