Fixed tsc check.
This commit is contained in:
@@ -13,13 +13,11 @@ export function SquareCrosshair({
|
|||||||
luminance,
|
luminance,
|
||||||
hex,
|
hex,
|
||||||
parentDimensions,
|
parentDimensions,
|
||||||
isDragging,
|
|
||||||
}: {
|
}: {
|
||||||
hue: number;
|
hue: number;
|
||||||
luminance: number;
|
luminance: number;
|
||||||
hex: colorlib.Hex;
|
hex: colorlib.Hex;
|
||||||
parentDimensions: CartesianSpace;
|
parentDimensions: CartesianSpace;
|
||||||
isDragging: boolean;
|
|
||||||
}) {
|
}) {
|
||||||
const [_origin, setOrigin] = useState<CartesianSpace>({ x: 0, y: 0 });
|
const [_origin, setOrigin] = useState<CartesianSpace>({ x: 0, y: 0 });
|
||||||
const [dimensions, setDimensions] = useState<CartesianSpace>({ x: 0, y: 0 });
|
const [dimensions, setDimensions] = useState<CartesianSpace>({ x: 0, y: 0 });
|
||||||
|
|||||||
Reference in New Issue
Block a user