mirror of
https://github.com/publiclab/image-sequencer.git
synced 2025-12-13 20:00:05 +01:00
Fixing defaults in various modules (#1441)
* Fix AddQr * Fix Threshold * Fix ReplaceColor Modulr * Fix Overlay Module * Fix FlipImage Module * fix Colorbar Module * Fix colormap module * fix overlay Co-authored-by: Harsh Khandeparkar <34770591+HarshKhandeparkar@users.noreply.github.com> Co-authored-by: Jeffrey Warren <jeff@unterbahn.com>
This commit is contained in:
committed by
Jeffrey Warren
parent
00ed0f148d
commit
d215b43a09
@@ -9,7 +9,7 @@ module.exports = function Dynamic(options, UI, util) {
|
||||
// This function is called on every draw.
|
||||
function draw(input, callback, progressObj) {
|
||||
|
||||
options.offset = parseInt(options.offset) || -2;
|
||||
options.offset = parseInt(options.offset || defaults.offset);
|
||||
|
||||
progressObj.stop(true);
|
||||
progressObj.overrideFlag = true;
|
||||
|
||||
Reference in New Issue
Block a user