fix linting

This commit is contained in:
2025-06-07 17:19:01 -06:00
parent dbeb1c6b4b
commit 820ae727ed
10 changed files with 87 additions and 62 deletions

View File

@@ -983,7 +983,8 @@ export default class ContactQRScanShow extends Vue {
) as HTMLVideoElement;
if (videoElement) {
// Mirror if it's desktop or front camera on mobile
const shouldMirror = this.isDesktop || (this.isFrontCamera && !this.isDesktop);
const shouldMirror =
this.isDesktop || (this.isFrontCamera && !this.isDesktop);
videoElement.style.transform = shouldMirror ? "scaleX(-1)" : "none";
}
}