mirror of
https://github.com/publiclab/image-sequencer.git
synced 2025-12-14 12:19:58 +01:00
Parse info.json to set module defaults (#650)
* changes * changes * changes * changes * changes * changes
This commit is contained in:
@@ -7,7 +7,8 @@ module.exports = function Resize(options, UI) {
|
||||
|
||||
function draw(input, callback, progressObj) {
|
||||
|
||||
options.resize = options.resize || "125%";
|
||||
var defaults = require('./../../util/getDefaults.js')(require('./info.json'));
|
||||
options.resize = options.resize || defaults.resize;
|
||||
|
||||
progressObj.stop(true);
|
||||
progressObj.overrideFlag = true;
|
||||
|
||||
Reference in New Issue
Block a user