Skip to content

Commit

Permalink
added preventDefault on touchmove in StageWidget
Browse files Browse the repository at this point in the history
  • Loading branch information
arose committed Mar 16, 2016
1 parent fb08902 commit 2f139f4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions js/ngl/gui.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,12 @@ NGL.StageWidget = function( stage ){

//

document.body.addEventListener(
'touchmove', function( e ){ e.preventDefault(); }, false
);

//

stage.handleResize();
// FIXME hack for ie11
setTimeout( function(){ stage.handleResize(); }, 500 );
Expand Down

0 comments on commit 2f139f4

Please sign in to comment.