fixed canvas resize animation
Merge pull request #1 from lmartinho/fix-canvas-resize-animation

fixed canvas resize animation