Make updating code controls async

This commit is contained in:
Steve Ruiz 2021-06-25 12:01:22 +01:00
parent 85dc3028b4
commit 0ee26a8493
27 changed files with 212 additions and 75 deletions

View file

@ -9,7 +9,6 @@ export default class Ellipse extends CodeShape<EllipseShape> {
constructor(props = {} as ShapeProps<EllipseShape>) {
super({
id: uniqueId(),
seed: Math.random(),
parentId: (window as any).currentPageId,
type: ShapeType.Ellipse,
isGenerated: true,