mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-24 01:31:44 +00:00
Fix bug with always opening stream fullscreen onclick (#1018)
* Update photon-camera-stream.vue * formatting fixes
This commit is contained in:
@@ -57,14 +57,7 @@ const handleFullscreenRequest = () => {
|
||||
|
||||
<template>
|
||||
<div class="stream-container">
|
||||
<img
|
||||
:id="id"
|
||||
crossorigin="anonymous"
|
||||
:src="streamSrc"
|
||||
:alt="streamDesc"
|
||||
:style="streamStyle"
|
||||
onclick="this.requestFullscreen()"
|
||||
/>
|
||||
<img :id="id" crossorigin="anonymous" :src="streamSrc" :alt="streamDesc" :style="streamStyle" />
|
||||
<div class="stream-overlay" :style="overlayStyle">
|
||||
<pv-icon
|
||||
icon-name="mdi-camera-image"
|
||||
|
||||
Reference in New Issue
Block a user