Skip to content

Commit b0f73cf

Browse files
committed
Remove old todo from _colorMatch
1 parent 6495bf5 commit b0f73cf

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/helper/style-path.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ const MIXED = 'scratch-paint/style-path/mixed';
1313
// Check if the item color matches the incoming color. If the item color is a gradient, we assume
1414
// that the incoming color never matches, since we don't support gradients yet.
1515
const _colorMatch = function (itemColor, incomingColor) {
16-
// @todo colorMatch should not be called with gradients as arguments once stroke gradients are supported
1716
if (itemColor && itemColor.type === 'gradient') return false;
1817
// Either both are null or both are the same color when converted to CSS.
1918
return (!itemColor && !incomingColor) ||

0 commit comments

Comments
 (0)