mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 13:43:26 +00:00
eslint fix
This commit is contained in:
parent
f26bd913e9
commit
d058674a39
1 changed files with 4 additions and 3 deletions
|
@ -1401,10 +1401,10 @@ var InputPlugin = new Class({
|
|||
gameObjects = [ gameObjects ];
|
||||
}
|
||||
|
||||
var i;
|
||||
var draggable = false;
|
||||
var dropZone = false;
|
||||
var cursor = false;
|
||||
var useHandCursor = false;
|
||||
|
||||
// Config object?
|
||||
if (IsPlainObject(shape))
|
||||
|
@ -1417,8 +1417,9 @@ var InputPlugin = new Class({
|
|||
dropZone = GetFastValue(config, 'dropZone', false);
|
||||
cursor = GetFastValue(config, 'cursor', false);
|
||||
useHandCursor = GetFastValue(config, 'useHandCursor', false);
|
||||
pixelPerfect = GetFastValue(config, 'pixelPerfect', false);
|
||||
alphaTolerance = GetFastValue(config, 'alphaTolerance', 1);
|
||||
|
||||
var pixelPerfect = GetFastValue(config, 'pixelPerfect', false);
|
||||
var alphaTolerance = GetFastValue(config, 'alphaTolerance', 1);
|
||||
|
||||
if (pixelPerfect)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue