Making a painting app using HTML5 and Canvas.
I think I want to have a similar system to applications like Paint and Photoshop where you can have a primary and secondary
Try this
canvas.oncontextmenu = function (e) { e.preventDefault(); };