The way the eraser tool is currently implemented causes it to erase the entire sketch in firefox. This is a simple fix which will make the eraser work the same way it does in chrome.
"Note that firefox 3.6/4.0 implement 'copy' by erasing the entire background first. The w3c docs aren't clear as to what should happen here. Chrome (webkit?) interprets the specs as 'only where pixels are actually drawn', for example the result of a stroke()."
The way the eraser tool is currently implemented causes it to erase the entire sketch in firefox. This is a simple fix which will make the eraser work the same way it does in chrome.
see: http://stackoverflow.com/questions/3328906/erasing-in-html5-canvas
"Note that firefox 3.6/4.0 implement 'copy' by erasing the entire background first. The w3c docs aren't clear as to what should happen here. Chrome (webkit?) interprets the specs as 'only where pixels are actually drawn', for example the result of a stroke()."