diff --git a/src/components/workspace/elements/polyline.tsx b/src/components/workspace/elements/polyline.tsx index f06ec77..050ad11 100644 --- a/src/components/workspace/elements/polyline.tsx +++ b/src/components/workspace/elements/polyline.tsx @@ -90,6 +90,7 @@ const Polyline: React.FC = forwardRef( props.className, consumer.styles?.elements?.shape?.base?.className, consumer.mode === "user" && sectionObject && "cursor-pointer filter hover:brightness-[1.05]", + consumer.mode === "user" && !sectionObject && "pointer-events-none", sectionObject && consumer.styles?.elements?.section?.base?.className, sectionObject?.freeSeating && consumer.styles?.elements?.section?.freeSeating?.className )} diff --git a/src/stories/customization.mdx b/src/stories/customization.mdx index 69ba7f9..0abc0dc 100644 --- a/src/stories/customization.mdx +++ b/src/stories/customization.mdx @@ -1,5 +1,4 @@ import { Meta } from "@storybook/blocks"; -import { Button } from "../components";