Skip to content

Commit 4db1752

Browse files
committed
#351 profile-pane selfie
1 parent 3919e51 commit 4db1752

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/v2/components/media/photoCapture/PhotoCapture.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ describe('SolidUIPhotoCapture', () => {
8888

8989
expect(getUserMedia).toHaveBeenCalledWith({
9090
video: {
91-
facingMode: { ideal: 'environment' }
91+
facingMode: { ideal: 'user' }
9292
}
9393
})
9494
})

src/v2/components/media/photoCapture/PhotoCapture.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ export class PhotoCapture extends LitElement {
318318
this.cancelLabel = 'Cancel'
319319
this.presentation = 'inline'
320320
this.theme = 'light'
321-
this.facingMode = 'environment'
321+
this.facingMode = 'user'
322322
this.constraints = ''
323323
this.captureFormat = DEFAULT_CAPTURE_FORMAT
324324
this.captureQuality = undefined

0 commit comments

Comments
 (0)