Disable the menu on clip/snapshot playing.
This commit is contained in:
+3
-1
@@ -2,6 +2,7 @@
|
|||||||
// TODO Add title to clips / snapshots playing/viewing
|
// TODO Add title to clips / snapshots playing/viewing
|
||||||
// TODO Add gallery item to take to media browser
|
// TODO Add gallery item to take to media browser
|
||||||
// TODO Add documentation & screenshots.
|
// TODO Add documentation & screenshots.
|
||||||
|
// TODO Clips do not auto-play on Android.
|
||||||
// TODO Sometimes webrtc component shows up as not found in browser (maybe after fresh build?)
|
// TODO Sometimes webrtc component shows up as not found in browser (maybe after fresh build?)
|
||||||
|
|
||||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||||
@@ -308,9 +309,10 @@ export class FrigateCard extends LitElement {
|
|||||||
class="mdc-image-list__image"
|
class="mdc-image-list__image"
|
||||||
src="data:image/png;base64,${event.thumbnail}"
|
src="data:image/png;base64,${event.thumbnail}"
|
||||||
@click=${() => {
|
@click=${() => {
|
||||||
|
this._showMenu = false;
|
||||||
this._viewEvent = event;
|
this._viewEvent = event;
|
||||||
this._viewMode = want_clips ?
|
this._viewMode = want_clips ?
|
||||||
FrigateCardView.CLIP : FrigateCardView.SNAPSHOT
|
FrigateCardView.CLIP : FrigateCardView.SNAPSHOT;
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user