Don't remove shape when cancelling camera fill

This commit is contained in:
Yueyu 2021-09-01 19:49:07 +08:00
parent ce9200b2f1
commit 39f707d7be

View file

@ -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');