We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6495bf5 commit b0f73cfCopy full SHA for b0f73cf
src/helper/style-path.js
@@ -13,7 +13,6 @@ const MIXED = 'scratch-paint/style-path/mixed';
13
// Check if the item color matches the incoming color. If the item color is a gradient, we assume
14
// that the incoming color never matches, since we don't support gradients yet.
15
const _colorMatch = function (itemColor, incomingColor) {
16
- // @todo colorMatch should not be called with gradients as arguments once stroke gradients are supported
17
if (itemColor && itemColor.type === 'gradient') return false;
18
// Either both are null or both are the same color when converted to CSS.
19
return (!itemColor && !incomingColor) ||
0 commit comments