fix(bg): dont cut off dots closes #1088

This commit is contained in:
moklick
2021-04-14 10:11:36 +02:00
parent d5b84afcc1
commit 9fa5347f00
3 changed files with 4 additions and 4 deletions
@@ -36,7 +36,7 @@ const Background: FC<BackgroundProps> = ({
const isLines = variant === BackgroundVariant.Lines;
const bgColor = color ? color : defaultColors[variant];
const path = isLines ? createGridLinesPath(scaledGap, size, bgColor) : createGridDotsPath(size, bgColor);
const path = isLines ? createGridLinesPath(scaledGap, size, bgColor) : createGridDotsPath(size * scale, bgColor);
return (
<svg