diff --git a/src/Gradient.js b/src/Gradient.js index 5dd89b1..f02fb46 100644 --- a/src/Gradient.js +++ b/src/Gradient.js @@ -140,8 +140,8 @@ const parseColorStops = (args: Array, firstColorStopIndex: number, lineL const absoluteValuedColorStops = colorStops.map(({color, stop}) => { return { color, - // $FlowFixMe stop: + // $FlowFixMe lineLength === 0 ? 0 : stop ? stop.getAbsoluteValue(lineLength) / lineLength : null }; });