Browse Source

copyPixel() ignores the fourth argument

pull/121/head
bouzuya 7 years ago
parent
commit
8032326137
  1. 2
      resemble.js

2
resemble.js

@ -486,7 +486,7 @@ URL: https://github.com/Huddle/Resemble.js
}
if( isRGBSimilar(pixel1, pixel2) || !isWithinBoundingBox ){
copyPixel(targetPix, offset, pixel1, pixel2);
copyPixel(targetPix, offset, pixel1);
} else if( ignoreAntialiasing && (
addBrightnessInfo(pixel1), // jit pixel info augmentation looks a little weird, sorry.

Loading…
Cancel
Save