theruther4d/Apparatus

Add buffer to Blur

Closed this issue · 1 comments

When creating the desktop reference, we need to add 2 * the specified blur amount to the total size of the canvas. This way, when blurring things close to the edge of the screen, we won't get empty canvas.

This appears to be a bug with Chrome. Even when the <canvas> is bit enough and fully painted, being too close to the edge causes the fade-out on the right.

screen shot 2016-03-25 at 9 35 50 am
In the image above, the canvas overlaps the screen to the right by another 20px, but it doesn't appear that way.