mirror of
https://github.com/wassname/phaser.git
synced 2026-07-17 11:31:30 +08:00
Assets update
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user