diff --git a/src/painteditor/Paint.js b/src/painteditor/Paint.js index 0ea01da..c210ea2 100644 --- a/src/painteditor/Paint.js +++ b/src/painteditor/Paint.js @@ -837,7 +837,9 @@ export default class Paint { cc.onmousedown = Paint.closeCameraMode; } - static closeCameraMode () { + static closeCameraMode (evt) { + evt.preventDefault(); + evt.stopPropagation(); ScratchAudio.sndFX('exittap.wav'); Camera.close(); Paint.selectButton('select');