Cleaned up unused variables

This commit is contained in:
Maciej Caderek
2022-05-03 03:48:37 +02:00
parent 5aa7b59731
commit f29f63cc2e

View File

@@ -1,8 +1,7 @@
import { Solid, LoadImage } from "./../../types"; import { LoadImage } from "./../../types";
import { Move } from "chess.js"; import { Move } from "chess.js";
import { Style, SquareStyle } from "../../types"; import { Style, SquareStyle } from "../../types";
import drawRectangle from "./drawRectangle"; import drawRectangle from "./drawRectangle";
import { changeHSL } from "../../utils/colors";
const FILES = "abcdefghijklmnopqrstuwvxyz"; const FILES = "abcdefghijklmnopqrstuwvxyz";
@@ -17,7 +16,7 @@ const drawMoveIndicators = async (
ctx: CanvasRenderingContext2D, ctx: CanvasRenderingContext2D,
move: Move, move: Move,
squareSize: number, squareSize: number,
{ dark, light, moveIndicator }: Style, { moveIndicator }: Style,
borderWidth: number, borderWidth: number,
tiles: number, tiles: number,
flipped: boolean, flipped: boolean,