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);
}
}