From f29f63cc2e3338fc449f20704bc5713f588ff62f Mon Sep 17 00:00:00 2001 From: Maciej Caderek Date: Tue, 3 May 2022 03:48:37 +0200 Subject: [PATCH] Cleaned up unused variables --- src/board/layers/drawMoveIndicators.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/board/layers/drawMoveIndicators.ts b/src/board/layers/drawMoveIndicators.ts index 69bb7b8..308c318 100644 --- a/src/board/layers/drawMoveIndicators.ts +++ b/src/board/layers/drawMoveIndicators.ts @@ -1,8 +1,7 @@ -import { Solid, LoadImage } from "./../../types"; +import { LoadImage } from "./../../types"; import { Move } from "chess.js"; import { Style, SquareStyle } from "../../types"; import drawRectangle from "./drawRectangle"; -import { changeHSL } from "../../utils/colors"; const FILES = "abcdefghijklmnopqrstuwvxyz"; @@ -17,7 +16,7 @@ const drawMoveIndicators = async ( ctx: CanvasRenderingContext2D, move: Move, squareSize: number, - { dark, light, moveIndicator }: Style, + { moveIndicator }: Style, borderWidth: number, tiles: number, flipped: boolean,