From 90296a19078a7d6fe3bf8105bfd2f1d26bbfe8d7 Mon Sep 17 00:00:00 2001 From: Erich Loftis Date: Sun, 5 Aug 2018 23:35:15 -0500 Subject: [PATCH] Update MultiMethod_PathTracing.html --- MultiMethod_PathTracing.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MultiMethod_PathTracing.html b/MultiMethod_PathTracing.html index ff6c0502..2664a17c 100644 --- a/MultiMethod_PathTracing.html +++ b/MultiMethod_PathTracing.html @@ -554,7 +554,7 @@ // function init( meshes ) { function init() { - if ( 'createTouch' in document ) { + if ( 'ontouchstart' in window ) { mouseControl = false; pixelRatio = 0.5;