before audio recording close button fixes
This commit is contained in:
parent
128b19ef8f
commit
10d123b58b
1 changed files with 5 additions and 3 deletions
|
|
@ -353,9 +353,11 @@ export default {
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
cancelRecording() {
|
cancelRecording() {
|
||||||
this.state = State.INITIAL;
|
if(this.recorder) {
|
||||||
this.recorder.stop();
|
this.state = State.INITIAL;
|
||||||
this.recorder = null;
|
this.recorder.stop();
|
||||||
|
this.recorder = null;
|
||||||
|
}
|
||||||
this.close();
|
this.close();
|
||||||
},
|
},
|
||||||
pauseRecording() {
|
pauseRecording() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue