mirror of
https://github.com/scratchfoundation/scratchjr.git
synced 2024-11-28 18:15:37 -05:00
Don't remove shape when cancelling camera fill
This commit is contained in:
parent
ce9200b2f1
commit
39f707d7be
1 changed files with 3 additions and 1 deletions
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue