Skip to content

Commit

Permalink
Make it so the plasma channel can turn off. Closes #612
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderson1993 committed Mar 15, 2018
1 parent 6ddff18 commit 2a3c1c5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const PlasmaRipples = ({
edit,
color = "blue"
}) => {
const alpha = level || inputs[0] || 0;
const alpha = level || (level === 0 ? 0 : inputs[0]) || 0;
return (
<div style={{ transform: `scale(${scale})` }}>
{page &&
Expand Down

0 comments on commit 2a3c1c5

Please sign in to comment.