mirror of
https://github.com/photonstorm/phaser
synced 2025-02-28 05:17:16 +00:00
Fixed lint issue.
This commit is contained in:
parent
c625b8735b
commit
874a174af7
1 changed files with 1 additions and 2 deletions
|
@ -1,7 +1,6 @@
|
|||
// Phaser.Input.Gamepad.Axis
|
||||
|
||||
var Class = require('../../utils/Class');
|
||||
var GamepadEvent = require('./events/');
|
||||
|
||||
var Axis = new Class({
|
||||
|
||||
|
@ -36,7 +35,7 @@ var Axis = new Class({
|
|||
percentage = 0;
|
||||
}
|
||||
|
||||
return percentage * (this.value > 0 ? 1 : -1);
|
||||
return percentage * (this.value > 0 ? 1 : -1);
|
||||
}
|
||||
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue