refactor: factor out shape generation from renderElement.ts pt 2 (#6878)

This commit is contained in:
David Luzar 2023-08-14 13:52:25 +02:00 committed by GitHub
parent c29f19a88b
commit 9e0bfd178e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 438 additions and 416 deletions

View file

@ -10,7 +10,7 @@ import { distance2d, rotate, rotatePoint } from "../math";
import rough from "roughjs/bin/rough";
import { Drawable, Op } from "roughjs/bin/core";
import { Point } from "../types";
import { generateRoughOptions } from "../renderer/renderElement";
import { generateRoughOptions } from "../scene/Shape";
import {
isArrowElement,
isFreeDrawElement,