Added packages. Reformatted files.

This commit is contained in:
Jay
2025-08-01 20:22:33 -04:00
parent bf9818a9aa
commit fa641c186c
10 changed files with 148 additions and 12 deletions
+8 -2
View File
@@ -1,7 +1,13 @@
import { useState, useRef, useEffect, useCallback } from "react";
import { useCallback, useEffect, useRef, useState } from "react";
import type { Dispatch, SetStateAction } from "react";
import { minmax } from "../util";
import type { CartesianSpace } from "../types";
import {
extractEventCoordinates,
isLeftMouseButton,
isTouchEvent,
minmax,
} from "../util";
import { useScroll } from "./scroll";
if (typeof TouchEvent === "undefined") {
+3 -2
View File
@@ -1,6 +1,7 @@
import { useState, useRef, useEffect } from "react";
import { useCrosshair } from "../crosshair";
import { useEffect, useRef, useState } from "react";
import type { CartesianSpace } from "../../types";
import { useCrosshair } from "../crosshair";
// Test Fixtures