diff --git a/.all-contributorsrc b/.all-contributorsrc index 6dc6de6..613fe72 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -239,6 +239,15 @@ "contributions": [ "code" ] + }, + { + "login": "molnarmark", + "name": "Mark Molnar", + "avatar_url": "https://avatars2.githubusercontent.com/u/13263073?v=4", + "profile": "https://github.com/molnarmark", + "contributions": [ + "code" + ] } ] } diff --git a/README.md b/README.md index 0b16506..20941b6 100644 --- a/README.md +++ b/README.md @@ -77,5 +77,5 @@ Thanks goes out to all these wonderful people ([emoji key](https://github.com/ke | :---: | :---: | :---: | :---: | :---: | :---: | :---: | | [
otobrglez](https://github.com/otobrglez)
[πŸ’»](https://github.com/dawnlabs/carbon/commits?author=otobrglez "Code") | [
darahak](https://github.com/darahak)
[πŸ“–](https://github.com/dawnlabs/carbon/commits?author=darahak "Documentation") | [
dom96](https://github.com/dom96)
[πŸ’»](https://github.com/dawnlabs/carbon/commits?author=dom96 "Code") | [
elrumordelaluz](https://github.com/elrumordelaluz)
[πŸ’»](https://github.com/dawnlabs/carbon/commits?author=elrumordelaluz "Code") | [
cjb](https://github.com/cjb)
[πŸ’»](https://github.com/dawnlabs/carbon/commits?author=cjb "Code") | [
Krzysztof-Cieslak](https://github.com/Krzysztof-Cieslak)
[πŸ’»](https://github.com/dawnlabs/carbon/commits?author=Krzysztof-Cieslak "Code") | [
fernahh](https://github.com/fernahh)
[πŸ“–](https://github.com/dawnlabs/carbon/commits?author=fernahh "Documentation") | | [
g3r4n](https://github.com/g3r4n)
[πŸ’»](https://github.com/dawnlabs/carbon/commits?author=g3r4n "Code") | [
Mat Gadd](http://drarok.com/)
[πŸ›](https://github.com/dawnlabs/carbon/issues?q=author%3ADrarok "Bug reports") [πŸ’»](https://github.com/dawnlabs/carbon/commits?author=Drarok "Code") | [
Brad Davies](https://bradlab.co.uk)
[πŸ›](https://github.com/dawnlabs/carbon/issues?q=author%3Avarbrad "Bug reports") [πŸ’»](https://github.com/dawnlabs/carbon/commits?author=varbrad "Code") | [
Rafael CΓ’mara](http://www.rafaelcamaram.com/)
[πŸ’»](https://github.com/dawnlabs/carbon/commits?author=rafaelcamaram "Code") | [
Gleb Bahmutov](https://glebbahmutov.com/)
[⚠️](https://github.com/dawnlabs/carbon/commits?author=bahmutov "Tests") [πŸ”§](#tool-bahmutov "Tools") | [
IvΓ‘n MunguΓ­a](https://ivan-munguia.netlify.com)
[πŸ’»](https://github.com/dawnlabs/carbon/commits?author=warborn "Code") | [
Dillon Mulroy](https://dillonmulroy.com)
[πŸ’»](https://github.com/dawnlabs/carbon/commits?author=dmmulroy "Code") | -| [
Nihad Abbasov](https://github.com/NARKOZ)
[πŸ’»](https://github.com/dawnlabs/carbon/commits?author=NARKOZ "Code") | [
Hugo Torzuoli](https://torzuolih.github.io)
[πŸ“–](https://github.com/dawnlabs/carbon/commits?author=TorzuoliH "Documentation") | [
Bruno C. Couto](https://github.com/bruno02221)
[πŸ’»](https://github.com/dawnlabs/carbon/commits?author=bruno02221 "Code") | +| [
Nihad Abbasov](https://github.com/NARKOZ)
[πŸ’»](https://github.com/dawnlabs/carbon/commits?author=NARKOZ "Code") | [
Hugo Torzuoli](https://torzuolih.github.io)
[πŸ“–](https://github.com/dawnlabs/carbon/commits?author=TorzuoliH "Documentation") | [
Bruno C. Couto](https://github.com/bruno02221)
[πŸ’»](https://github.com/dawnlabs/carbon/commits?author=bruno02221 "Code") | [
Mark Molnar](https://github.com/molnarmark)
[πŸ’»](https://github.com/dawnlabs/carbon/commits?author=molnarmark "Code") | diff --git a/components/Settings.js b/components/Settings.js index 608208c..16cfd03 100644 --- a/components/Settings.js +++ b/components/Settings.js @@ -94,6 +94,11 @@ class Settings extends React.Component { value={this.props.enabled.dropShadowBlurRadius || 68} onChange={this.props.onChange.bind(null, 'dropShadowBlurRadius')} /> + (n.className ? String(n.className).indexOf('eliminateOnRender') < 0 : true), width: node.offsetWidth * 2, - height: node.offsetHeight * 2 + height: (this.state.squaredImage) ? node.offsetWidth * 2 : node.offsetHeight * 2 } return domtoimage.toPng(node, config)