Commit 684a4863 by Иван Кубота

remove white overlay

parent a144850d
...@@ -60,8 +60,8 @@ ...@@ -60,8 +60,8 @@
canvasCtx.drawImage( canvasCtx.drawImage(
results.image, 0, 0, canvasElement.width, canvasElement.height ); results.image, 0, 0, canvasElement.width, canvasElement.height );
canvasCtx.globalCompositeOperation = 'destination-over'; canvasCtx.globalCompositeOperation = 'destination-over';
canvasCtx.fillStyle = '#fff'; /*canvasCtx.fillStyle = '#fff';
canvasCtx.fillRect( 0, 0, canvasElement.width, canvasElement.height ); canvasCtx.fillRect( 0, 0, canvasElement.width, canvasElement.height );*/
canvasCtx.restore(); canvasCtx.restore();
};/* };/*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment