Remove redundant animationDelay calls (#68)

This commit is contained in:
adroitwhiz 2021-02-25 16:31:10 -05:00 committed by GitHub
parent dabf02eb5f
commit a74f2691a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 0 additions and 7 deletions

View file

@ -58,7 +58,6 @@ class MirrorWorker : public Napi::AsyncWorker {
for (Image &image : mid) {
image.quantizeDither(false);
image.quantize();
if (delay != 0) image.animationDelay(delay);
}
}

View file

@ -65,7 +65,6 @@ class MotivateWorker : public Napi::AsyncWorker {
for (Image &image : mid) {
image.quantizeDither(false);
image.quantize();
if (delay != 0) image.animationDelay(delay);
}
}

View file

@ -40,7 +40,6 @@ class ScottWorker : public Napi::AsyncWorker {
for (Image &image : mid) {
image.quantizeDitherMethod(FloydSteinbergDitherMethod);
image.quantize();
if (delay != 0) image.animationDelay(delay);
}
}

View file

@ -45,7 +45,6 @@ class TileWorker : public Napi::AsyncWorker {
for (Image &image : mid) {
image.quantizeDitherMethod(FloydSteinbergDitherMethod);
image.quantize();
if (delay != 0) image.animationDelay(delay);
}
}

View file

@ -40,7 +40,6 @@ class TrumpWorker : public Napi::AsyncWorker {
for (Image &image : mid) {
image.quantizeDitherMethod(FloydSteinbergDitherMethod);
image.quantize();
if (delay != 0) image.animationDelay(delay);
}
}

View file

@ -56,7 +56,6 @@ class WatermarkWorker : public Napi::AsyncWorker {
for (Image &image : mid) {
image.quantizeDitherMethod(FloydSteinbergDitherMethod);
image.quantize();
if (delay != 0) image.animationDelay(delay);
}
}

View file

@ -35,7 +35,6 @@ class WdtWorker : public Napi::AsyncWorker {
for (Image &image : mid) {
image.quantizeDitherMethod(FloydSteinbergDitherMethod);
image.quantize();
if (delay != 0) image.animationDelay(delay);
}
}