mirror of
https://github.com/blasten/turn.js.git
synced 2025-11-26 12:08:08 +08:00
Merge 0ac4d63c232182ab3b796795f2be48c5b983291e into 221cb65f497f468a730658cbbe2093399807a6a1
This commit is contained in:
commit
5057c33ec6
2
turn.js
2
turn.js
@ -29,7 +29,7 @@ var has3d,
|
|||||||
|
|
||||||
A90 = PI/2,
|
A90 = PI/2,
|
||||||
|
|
||||||
isTouch = 'Touch' in window,
|
isTouch = 'ontouchstart' in window,
|
||||||
|
|
||||||
events = (isTouch) ? {start: 'touchstart', move: 'touchmove', end: 'touchend'}
|
events = (isTouch) ? {start: 'touchstart', move: 'touchmove', end: 'touchend'}
|
||||||
: {start: 'mousedown', move: 'mousemove', end: 'mouseup'},
|
: {start: 'mousedown', move: 'mousemove', end: 'mouseup'},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user