mirror of
https://github.com/publiclab/image-sequencer.git
synced 2025-12-14 12:19:58 +01:00
Merge master, Rename this_ and ui: 'none'
This commit is contained in:
@@ -11,13 +11,13 @@ module.exports = function DoNothingPix(options,UI) {
|
||||
function draw(input,callback) {
|
||||
|
||||
UI.onDraw();
|
||||
var this_ = this;
|
||||
const step = this;
|
||||
|
||||
function changePixel(r, g, b, a) {
|
||||
return [r, g, b, a];
|
||||
}
|
||||
function output(image,datauri,mimetype){
|
||||
this_.output = {src:datauri,format:mimetype}
|
||||
step.output = {src:datauri,format:mimetype}
|
||||
UI.onComplete(datauri);
|
||||
}
|
||||
return require('../_nomodule/PixelManipulation.js')(input, {
|
||||
|
||||
Reference in New Issue
Block a user