Release Vulpes OS Preview 26 with Gecko 161.0 and Tundra 0.2.0
This commit is contained in:
parent
3a1fba4efe
commit
e241a42d2f
1 changed files with 1305 additions and 331 deletions
|
|
@ -74,7 +74,7 @@ export class NativeCamera {
|
|||
}
|
||||
if (!this.session || this.session.actor !== actor || this.session.id !== params.session)
|
||||
throw Error('CAMERA_NOT_OPEN');
|
||||
if (!['frame','focus','zoom','picture','flash'].includes(params.action)) throw Error('CAMERA_INVALID_COMMAND');
|
||||
if (!['frame','focus','focusMode','zoom','picture','flash'].includes(params.action)) throw Error('CAMERA_INVALID_COMMAND');
|
||||
let controlRejected = false;
|
||||
try {
|
||||
if (params.action === 'frame') {
|
||||
|
|
|
|||
Loading…
Reference in a new issue