feat: set version dialog

This commit is contained in:
trafficlunar 2024-12-28 21:07:12 +00:00
parent cf83d2fc7c
commit a7e5dfd3d6
10 changed files with 908 additions and 27 deletions

View file

@ -25,7 +25,7 @@ export const CanvasProvider = ({ children }: Props) => {
const [blocks, setBlocks] = useState<Block[]>([]);
const [coords, setCoords] = useState<Position>({ x: 0, y: 0 });
const [scale, setScale] = useState(1);
const [version, setVersion] = useState(1200);
const [version, setVersion] = useState(1214);
const canvasSize = useMemo(() => {
let minX = Infinity,