mirror of
https://github.com/wassname/phaser.git
synced 2026-10-04 12:50:39 +08:00
Assets update
This commit is contained in:
1 parent
8452fa0fd4
commit
45426be0bc
10 files changed
+4
-6
No files matched your search
@@ -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