mirror of
https://github.com/publiclab/image-sequencer.git
synced 2025-12-16 13:20:01 +01:00
Merge master, Rename this_ and ui: 'none'
This commit is contained in:
@@ -14,13 +14,13 @@ module.exports = function GreenChannel(options,UI) {
|
||||
function draw(input,callback) {
|
||||
|
||||
UI.onDraw();
|
||||
var this_ = this;
|
||||
const step = this;
|
||||
|
||||
function changePixel(r, g, b, a) {
|
||||
return [255-r, 255-g, 255-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