Assets update

This commit is contained in:
Richard Davey
2013-09-20 23:21:12 +01:00
parent 8452fa0fd4
commit 45426be0bc
10 changed files with 4 additions and 6 deletions
+2 -2
View File
@@ -755,8 +755,8 @@ Phaser.InputHandler.prototype = {
*/
setDragLock: function (allowHorizontal, allowVertical) {
allowHorizontal = allowHorizontal || true;
allowVertical = allowVertical || true;
if (typeof allowHorizontal == 'undefined') { allowHorizontal = true; }
if (typeof allowVertical == 'undefined') { allowVertical = true; }
this.allowHorizontalDrag = allowHorizontal;
this.allowVerticalDrag = allowVertical;