feat: add bare-bones cursor and rectangle select tool

they do not currently move blocks
This commit is contained in:
trafficlunar 2025-01-14 18:02:42 +00:00
parent 246afd9120
commit 776ff73bf1
8 changed files with 169 additions and 36 deletions

View file

@ -2,7 +2,7 @@ import React, { createContext, ReactNode, useMemo, useState } from "react";
interface Context {
stageSize: Dimension;
canvasSize: CanvasSize;
canvasSize: BoundingBox;
blocks: Block[];
coords: Position;
scale: number;