Skip to content

Commit

Permalink
prevent zoom on double tap
Browse files Browse the repository at this point in the history
  • Loading branch information
greggman committed Dec 25, 2017
1 parent a06a5d1 commit 4e44d06
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/hft/scripts/misc/touch.js
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ define(
};

var onPointerDown = function(e) {
e.preventDefault();
var padId = getClosestPad(e);
checkStart(padId, e);
};
Expand Down Expand Up @@ -435,6 +436,7 @@ define(
//};

var handleButtonDown = function(e, buttonInfo) {
e.preventDefault();
addPointerId(buttonInfo, e.pointerId, e.timeStamp);
};

Expand Down

0 comments on commit 4e44d06

Please sign in to comment.