diff --git a/natives/mirror.cc b/natives/mirror.cc index d71ee75..9744abc 100644 --- a/natives/mirror.cc +++ b/natives/mirror.cc @@ -58,7 +58,6 @@ class MirrorWorker : public Napi::AsyncWorker { for (Image &image : mid) { image.quantizeDither(false); image.quantize(); - if (delay != 0) image.animationDelay(delay); } } diff --git a/natives/motivate.cc b/natives/motivate.cc index 8b03fd7..d0d7ce3 100644 --- a/natives/motivate.cc +++ b/natives/motivate.cc @@ -65,7 +65,6 @@ class MotivateWorker : public Napi::AsyncWorker { for (Image &image : mid) { image.quantizeDither(false); image.quantize(); - if (delay != 0) image.animationDelay(delay); } } diff --git a/natives/scott.cc b/natives/scott.cc index b5efbbe..2ee2e3b 100644 --- a/natives/scott.cc +++ b/natives/scott.cc @@ -40,7 +40,6 @@ class ScottWorker : public Napi::AsyncWorker { for (Image &image : mid) { image.quantizeDitherMethod(FloydSteinbergDitherMethod); image.quantize(); - if (delay != 0) image.animationDelay(delay); } } diff --git a/natives/tile.cc b/natives/tile.cc index 1126590..6eac5c7 100644 --- a/natives/tile.cc +++ b/natives/tile.cc @@ -45,7 +45,6 @@ class TileWorker : public Napi::AsyncWorker { for (Image &image : mid) { image.quantizeDitherMethod(FloydSteinbergDitherMethod); image.quantize(); - if (delay != 0) image.animationDelay(delay); } } diff --git a/natives/trump.cc b/natives/trump.cc index ba511f4..c8878ca 100644 --- a/natives/trump.cc +++ b/natives/trump.cc @@ -40,7 +40,6 @@ class TrumpWorker : public Napi::AsyncWorker { for (Image &image : mid) { image.quantizeDitherMethod(FloydSteinbergDitherMethod); image.quantize(); - if (delay != 0) image.animationDelay(delay); } } diff --git a/natives/watermark.cc b/natives/watermark.cc index cf20b39..c7b2c29 100644 --- a/natives/watermark.cc +++ b/natives/watermark.cc @@ -56,7 +56,6 @@ class WatermarkWorker : public Napi::AsyncWorker { for (Image &image : mid) { image.quantizeDitherMethod(FloydSteinbergDitherMethod); image.quantize(); - if (delay != 0) image.animationDelay(delay); } } diff --git a/natives/wdt.cc b/natives/wdt.cc index 20bc413..47922ea 100644 --- a/natives/wdt.cc +++ b/natives/wdt.cc @@ -35,7 +35,6 @@ class WdtWorker : public Napi::AsyncWorker { for (Image &image : mid) { image.quantizeDitherMethod(FloydSteinbergDitherMethod); image.quantize(); - if (delay != 0) image.animationDelay(delay); } }