Commit 42d434bc authored by Marc Jeanmougin's avatar Marc Jeanmougin 🚀 Committed by Marc Jeanmougin

Fix gradient comparison.

(bzr r15183)
parent f6624dea
......@@ -127,7 +127,7 @@ bool SPGradient::isEquivalent(SPGradient *that)
bool effective = true;
while (effective && (as && bs)) {
if (!as->getEffectiveColor().isClose(bs->getEffectiveColor(), 0.001) ||
as->offset != bs->offset) {
as->offset != bs->offset || as->opacity != bs->opacity ) {
effective = false;
break;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment