mirror of
https://github.com/trafficlunar/blockmatic.git
synced 2026-06-28 06:34:13 +00:00
feat: add bare-bones cursor and rectangle select tool
they do not currently move blocks
This commit is contained in:
parent
246afd9120
commit
776ff73bf1
8 changed files with 169 additions and 36 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue