Skip to content

Commit

Permalink
fix(drawing): apply blur to smaller drawn annotations (#665)
Browse files Browse the repository at this point in the history
* fix(drawing): apply blur to smaller drawn annotations
  • Loading branch information
ChenCodes authored Jan 13, 2021
1 parent 007b33c commit 9223f2f
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/drawing/DrawingSVG.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,8 @@ export function DrawingSVG({ className, children, ...rest }: Props, ref: React.R
{...rest}
>
<defs>
<filter id="ba-DrawingSVG-shadow" primitiveUnits="objectBoundingBox">
<feGaussianBlur in="SourceGraphic" stdDeviation="0.02" />
<feComponentTransfer>
<feFuncA slope="0.8" type="linear" />
</feComponentTransfer>
<filter id="ba-DrawingSVG-shadow">
<feGaussianBlur in="SourceGraphic" stdDeviation="1" />
</filter>
</defs>
{children}
Expand Down

0 comments on commit 9223f2f

Please sign in to comment.