Skip to content

Commit

Permalink
Disable pointer events on stick figure
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasPickering committed Apr 27, 2023
1 parent 391347a commit b6a4407
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ui/src/components/Editor/EditorSvg/BetaEditor/StickFigure.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ const StickFigure: React.FC<Props> = ({
stroke={color}
fill="none"
filter={getEditableFilterUrl("beta")} // Color based on editability
// Don't interfere with dragging+dropping
css={{ pointerEvents: "none" }}
>
{/* Head */}
<circle r={headRadius} cx={head.x} cy={head.y} />
Expand Down

0 comments on commit b6a4407

Please sign in to comment.