mirror of
https://github.com/scratchfoundation/scratchjr.git
synced 2024-11-25 08:38:30 -05:00
Merge pull request #512 from yueyuzhao/issue/511
Don't remove shape when cancelling camera fill
This commit is contained in:
commit
d0dc91626f
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