Fixes events with shapes, adds test for selection

This commit is contained in:
Steve Ruiz 2021-06-23 15:39:14 +01:00
parent e265a85d7b
commit d5fe5612e1
13 changed files with 13504 additions and 81 deletions

View file

@ -39,6 +39,6 @@ const Def = memo(function Def({ id }: { id: string }) {
return React.cloneElement(
getShapeUtils(shape).render(shape, { isEditing: false }),
{ ...style }
{ id, ...style }
)
})