summaryrefslogtreecommitdiffstats
path: root/o3d/samples/o3d-webgl-samples/texturesamplers.html
diff options
context:
space:
mode:
Diffstat (limited to 'o3d/samples/o3d-webgl-samples/texturesamplers.html')
-rw-r--r--o3d/samples/o3d-webgl-samples/texturesamplers.html2
1 files changed, 0 insertions, 2 deletions
diff --git a/o3d/samples/o3d-webgl-samples/texturesamplers.html b/o3d/samples/o3d-webgl-samples/texturesamplers.html
index 13ef9c9..13fec25 100644
--- a/o3d/samples/o3d-webgl-samples/texturesamplers.html
+++ b/o3d/samples/o3d-webgl-samples/texturesamplers.html
@@ -74,8 +74,6 @@ var g_finished = false; // for selenium testing
function scrollMe(e) {
g_eye = g_math.mulScalarVector((e.deltaY < 0 ? 11 : 13) / 12, g_eye);
g_viewInfo.drawContext.view = g_math.matrix4.lookAt(g_eye, g_target, g_up);
- // Prevents event from reaching up to the window, e.g. so page will not scroll
- o3djs.event.cancel(e);
}
/**