mirror of
https://github.com/publiclab/image-sequencer.git
synced 2025-12-13 11:50:02 +01:00
import/export bug fix (#608)
This commit is contained in:
committed by
Jeffrey Warren
parent
4369137336
commit
1a98247858
@@ -29,10 +29,10 @@ module.exports = function CropModule(options, UI) {
|
||||
// save the input image;
|
||||
// TODO: this should be moved to module API to persist the input image
|
||||
options.step.input = input.src;
|
||||
var parseCoordInputs = require('../../util/ParseInputCoordinates');
|
||||
var parseCornerCoordinateInputs = require('../../util/ParseInputCoordinates');
|
||||
|
||||
//parse the inputs
|
||||
parseCoordInputs.parseCornerCoordinateInputs(options,{
|
||||
//parse the inputs
|
||||
parseCornerCoordinateInputs(options,{
|
||||
src: input.src,
|
||||
x: { valInp: options.x, type: 'horizontal' },
|
||||
y: { valInp: options.y, type: 'vertical' },
|
||||
|
||||
Reference in New Issue
Block a user