claygl-next
Advanced tools
Comparing version 2.0.0-alpha.8 to 2.0.0-alpha.9
@@ -22,3 +22,3 @@ import Vector2 from '../math/Vector2'; | ||
} | ||
const useTouchEvent = 'ontouchstart' in window; | ||
const useTouchEvent = typeof window !== 'undefined' && 'ontouchstart' in window; | ||
class OrbitControl extends Notifier { | ||
@@ -25,0 +25,0 @@ constructor(opts) { |
{ | ||
"name": "claygl-next", | ||
"version": "2.0.0-alpha.8", | ||
"version": "2.0.0-alpha.9", | ||
"description": "A 3D graphic library", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
6794836
102370