jacktrades/JamochaTrade — Issue #62: The method used to clear the canvas does not always work
Author: jacktrades
Created: 2011-11-15 03:04:22+00:00
State: open

Using c.clearRect(0, 0, width, height); fails to clear line drawings.

This is because clearRect does not clear the last path. This should be achieved by calling c.beginPath(); before drawing a new line.