Skip to content

Commit e309b74

Browse files
authored
isMobile() has moved under a 'device' key in aframe utils
See aframevr/aframe#2044 for more details.
1 parent b551848 commit e309b74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/controls/hmd-controls.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
var radToDeg = THREE.Math.radToDeg,
2-
isMobile = AFRAME.utils.isMobile();
2+
isMobile = (AFRAME.utils.isMobile || AFRAME.utils.device.isMobile)();
33

44
module.exports = {
55
schema: {

0 commit comments

Comments
 (0)