mirror of
https://github.com/Art-Portal/April.git
synced 2024-11-16 11:37:37 +01:00
Correct declaration of destCanvas in remix
This commit is contained in:
parent
24cd367e4d
commit
8e99e5d8a1
@ -236,9 +236,8 @@ function applyOilPaintEffect(ctx, radius, intensity) {
|
||||
height = ctx.canvas.height,
|
||||
imgData = ctx.getImageData(0, 0, width, height),
|
||||
pixData = imgData.data,
|
||||
pixelIntensityCount = [];
|
||||
|
||||
destCanvas = ctx.canvas;
|
||||
pixelIntensityCount = [],
|
||||
destCanvas = ctx.canvas;
|
||||
|
||||
destCanvas.width = width;
|
||||
destCanvas.height = height;
|
||||
|
Loading…
Reference in New Issue
Block a user