Cleaned up unused variables
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user