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