Skip to content

Commit

Permalink
Merge pull request #416 from Lemoncode/bugfix/fix-e2e
Browse files Browse the repository at this point in the history
add shapeType to commonGroupProps
  • Loading branch information
brauliodiez authored Sep 30, 2024
2 parents 62fb252 + ddaaedc commit ee8cd68
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export const useGroupShapeProps = (
width,
height,
},
shapeType,
ref,
handleSelection
),
Expand All @@ -33,6 +34,7 @@ export const useGroupShapeProps = (
export const generateShapeGroupCommonProps = (
props: ShapeProps,
restrictedSize: Size,
shapeType: ShapeType,
ref: React.ForwardedRef<any>,
handleSelection: (e: KonvaEventObject<MouseEvent>) => void
) => {
Expand All @@ -46,5 +48,6 @@ export const generateShapeGroupCommonProps = (
'data-id': id,
onClick: handleSelection,
ref,
shapeType,
};
};

0 comments on commit ee8cd68

Please sign in to comment.