1
0
Fork 0

fixing little issues

This commit is contained in:
Enoch Riese 2022-07-05 18:37:29 -05:00
parent 18abd0351a
commit b047cb0e1f
6 changed files with 11 additions and 9 deletions

View file

@ -38,7 +38,7 @@ const SvgWrapper = props => {
<div style={{ width: size.width+'px', }}>
<Svg {...patternProps} embed={gist.embed}>
<Defs {...patternProps} />
<style>{`:root { --pattern-scale: ${gist.scale || 1}}`}</style>
<style>{`:root { --pattern-scale: ${gist.scale || 1}} ${patternProps.svg.style}`}</style>
<g>
{Object.keys(patternProps.parts).map((name) => (
<Part {...{ app, gist, updateGist, unsetGist, showInfo }}