Browse Source

Add resizing status message

j433866 6 years ago
parent
commit
662922be6f
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/core/operations/ResizeImage.mjs

+ 3 - 0
src/core/operations/ResizeImage.mjs

@@ -97,6 +97,9 @@ class ResizeImage extends Operation {
             width = image.getWidth() * (width / 100);
             width = image.getWidth() * (width / 100);
             height = image.getHeight() * (height / 100);
             height = image.getHeight() * (height / 100);
         }
         }
+
+        if (ENVIRONMENT_IS_WORKER())
+            self.sendStatusMessage("Resizing image...");
         if (aspect) {
         if (aspect) {
             image.scaleToFit(width, height, resizeMap[resizeAlg]);
             image.scaleToFit(width, height, resizeMap[resizeAlg]);
         } else {
         } else {