Skip to content

Commit

Permalink
Fix style bug
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinNagpal committed Nov 16, 2021
1 parent 1b66779 commit edc71b3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/Shapes/withShapeWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ export const withShapeWrapper = (
}
};

const shapeStyle = isInSelectionMode ? { zIndex: 0, ...(style || {}) } : {};
const shapeStyle = isInSelectionMode
? { zIndex: 0, ...(style || {}) }
: style;

return (
<div onClick={onClick}>
Expand Down

0 comments on commit edc71b3

Please sign in to comment.