From d058674a392fa035c7ffef401c02efe711f62420 Mon Sep 17 00:00:00 2001 From: Richard Davey Date: Mon, 11 Jun 2018 14:42:50 +0100 Subject: [PATCH] eslint fix --- src/input/InputPlugin.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/input/InputPlugin.js b/src/input/InputPlugin.js index f024b788d..cb5004040 100644 --- a/src/input/InputPlugin.js +++ b/src/input/InputPlugin.js @@ -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) {