Remove redundant animationDelay calls (#68)
This commit is contained in:
parent
dabf02eb5f
commit
a74f2691a8
7 changed files with 0 additions and 7 deletions
|
@ -58,7 +58,6 @@ class MirrorWorker : public Napi::AsyncWorker {
|
||||||
for (Image &image : mid) {
|
for (Image &image : mid) {
|
||||||
image.quantizeDither(false);
|
image.quantizeDither(false);
|
||||||
image.quantize();
|
image.quantize();
|
||||||
if (delay != 0) image.animationDelay(delay);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -65,7 +65,6 @@ class MotivateWorker : public Napi::AsyncWorker {
|
||||||
for (Image &image : mid) {
|
for (Image &image : mid) {
|
||||||
image.quantizeDither(false);
|
image.quantizeDither(false);
|
||||||
image.quantize();
|
image.quantize();
|
||||||
if (delay != 0) image.animationDelay(delay);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,6 @@ class ScottWorker : public Napi::AsyncWorker {
|
||||||
for (Image &image : mid) {
|
for (Image &image : mid) {
|
||||||
image.quantizeDitherMethod(FloydSteinbergDitherMethod);
|
image.quantizeDitherMethod(FloydSteinbergDitherMethod);
|
||||||
image.quantize();
|
image.quantize();
|
||||||
if (delay != 0) image.animationDelay(delay);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -45,7 +45,6 @@ class TileWorker : public Napi::AsyncWorker {
|
||||||
for (Image &image : mid) {
|
for (Image &image : mid) {
|
||||||
image.quantizeDitherMethod(FloydSteinbergDitherMethod);
|
image.quantizeDitherMethod(FloydSteinbergDitherMethod);
|
||||||
image.quantize();
|
image.quantize();
|
||||||
if (delay != 0) image.animationDelay(delay);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,6 @@ class TrumpWorker : public Napi::AsyncWorker {
|
||||||
for (Image &image : mid) {
|
for (Image &image : mid) {
|
||||||
image.quantizeDitherMethod(FloydSteinbergDitherMethod);
|
image.quantizeDitherMethod(FloydSteinbergDitherMethod);
|
||||||
image.quantize();
|
image.quantize();
|
||||||
if (delay != 0) image.animationDelay(delay);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -56,7 +56,6 @@ class WatermarkWorker : public Napi::AsyncWorker {
|
||||||
for (Image &image : mid) {
|
for (Image &image : mid) {
|
||||||
image.quantizeDitherMethod(FloydSteinbergDitherMethod);
|
image.quantizeDitherMethod(FloydSteinbergDitherMethod);
|
||||||
image.quantize();
|
image.quantize();
|
||||||
if (delay != 0) image.animationDelay(delay);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,6 @@ class WdtWorker : public Napi::AsyncWorker {
|
||||||
for (Image &image : mid) {
|
for (Image &image : mid) {
|
||||||
image.quantizeDitherMethod(FloydSteinbergDitherMethod);
|
image.quantizeDitherMethod(FloydSteinbergDitherMethod);
|
||||||
image.quantize();
|
image.quantize();
|
||||||
if (delay != 0) image.animationDelay(delay);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue