mirror of
https://github.com/photonstorm/phaser
synced 2024-11-28 07:31:11 +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 ];
|
gameObjects = [ gameObjects ];
|
||||||
}
|
}
|
||||||
|
|
||||||
var i;
|
|
||||||
var draggable = false;
|
var draggable = false;
|
||||||
var dropZone = false;
|
var dropZone = false;
|
||||||
var cursor = false;
|
var cursor = false;
|
||||||
|
var useHandCursor = false;
|
||||||
|
|
||||||
// Config object?
|
// Config object?
|
||||||
if (IsPlainObject(shape))
|
if (IsPlainObject(shape))
|
||||||
|
@ -1417,8 +1417,9 @@ var InputPlugin = new Class({
|
||||||
dropZone = GetFastValue(config, 'dropZone', false);
|
dropZone = GetFastValue(config, 'dropZone', false);
|
||||||
cursor = GetFastValue(config, 'cursor', false);
|
cursor = GetFastValue(config, 'cursor', false);
|
||||||
useHandCursor = GetFastValue(config, 'useHandCursor', 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)
|
if (pixelPerfect)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue