Browse Source

delete e.touches from slideMove function

shunp 5 years ago
parent
commit
f0bd42d089
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/webgl_multiple_scenes_comparison.html

+ 1 - 1
examples/webgl_multiple_scenes_comparison.html

@@ -163,7 +163,7 @@
 
 					sliderMoved = true;
 
-					sliderPos = e.pageX || e.touches[ 0 ].pageX;
+					sliderPos = e.pageX;
 
 					//prevent the slider from being positioned outside the window bounds
 					if ( sliderPos < 0 ) sliderPos = 0;