Make progress bars on UI true (#1112)

* Make progress bars on UI true

Signed-off-by: tech4GT <varun.gupta1798@gmail.com>

* update docs

Signed-off-by: tech4GT <varun.gupta1798@gmail.com>

* fix typo

Signed-off-by: tech4GT <varun.gupta1798@gmail.com>
This commit is contained in:
Varun Gupta
2019-06-15 20:21:02 +05:30
committed by Jeffrey Warren
parent f5d7b0ae09
commit 80cb5b1194
36 changed files with 94 additions and 60 deletions

View File

@@ -1,6 +1,6 @@
module.exports = function GridOverlay(options, UI) {
var output;
function draw(input, callback, progressObj) {
@@ -9,7 +9,7 @@ module.exports = function GridOverlay(options, UI) {
progressObj.overrideFlag = true;
var step = this;
function extraManipulation(pixels) {
pixels = require('./GridOverlay')(pixels, options);
return pixels;
@@ -24,6 +24,7 @@ module.exports = function GridOverlay(options, UI) {
return require('../_nomodule/PixelManipulation.js')(input, {
output: output,
ui: options.step.ui,
extraManipulation: extraManipulation,
format: input.format,
image: options.image,
@@ -31,7 +32,7 @@ module.exports = function GridOverlay(options, UI) {
callback: callback
});
}
return {