mirror of
https://github.com/scratchfoundation/scratch-paint.git
synced 2025-07-12 21:14:07 -04:00
Fix lint
This commit is contained in:
parent
cf507eac06
commit
517ff63670
2 changed files with 2 additions and 2 deletions
src/containers
|
@ -98,7 +98,7 @@ class OvalMode extends React.Component {
|
||||||
const fillColorMissing = fillColor1 === MIXED ||
|
const fillColorMissing = fillColor1 === MIXED ||
|
||||||
(fillGradient === GradientTypes.SOLID && fillColor1 === null) ||
|
(fillGradient === GradientTypes.SOLID && fillColor1 === null) ||
|
||||||
(fillGradient !== GradientTypes.SOLID && fillColor1 === null && fillColor2 === null);
|
(fillGradient !== GradientTypes.SOLID && fillColor1 === null && fillColor2 === null);
|
||||||
const strokeColorMissing = strokeColor1 === MIXED ||
|
const strokeColorMissing = strokeColor1 === MIXED ||
|
||||||
strokeWidth === null ||
|
strokeWidth === null ||
|
||||||
strokeWidth === 0 ||
|
strokeWidth === 0 ||
|
||||||
(strokeGradient === GradientTypes.SOLID && strokeColor1 === null) ||
|
(strokeGradient === GradientTypes.SOLID && strokeColor1 === null) ||
|
||||||
|
|
|
@ -93,7 +93,7 @@ class RectMode extends React.Component {
|
||||||
const fillColorMissing = fillColor1 === MIXED ||
|
const fillColorMissing = fillColor1 === MIXED ||
|
||||||
(fillGradient === GradientTypes.SOLID && fillColor1 === null) ||
|
(fillGradient === GradientTypes.SOLID && fillColor1 === null) ||
|
||||||
(fillGradient !== GradientTypes.SOLID && fillColor1 === null && fillColor2 === null);
|
(fillGradient !== GradientTypes.SOLID && fillColor1 === null && fillColor2 === null);
|
||||||
const strokeColorMissing = strokeColor1 === MIXED ||
|
const strokeColorMissing = strokeColor1 === MIXED ||
|
||||||
strokeWidth === null ||
|
strokeWidth === null ||
|
||||||
strokeWidth === 0 ||
|
strokeWidth === 0 ||
|
||||||
(strokeGradient === GradientTypes.SOLID && strokeColor1 === null) ||
|
(strokeGradient === GradientTypes.SOLID && strokeColor1 === null) ||
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue