Fullscreen improvements (esp. portrait media)

This commit is contained in:
Dermot Duffy
2021-09-26 14:05:06 -07:00
parent 2ab4e064f4
commit 7c0e0133ee
6 changed files with 63 additions and 21 deletions
+12
View File
@@ -386,6 +386,18 @@ export class FrigateCardEditor extends LitElement implements LovelaceCardEditor
@change=${this._valueChanged}
></ha-switch>
</ha-formfield>
<br />
<ha-formfield
.label=${localize('editor.show_button') +
': ' +
localize('menu.fullscreen')}
>
<ha-switch
.checked=${this._config?.menu_buttons?.frigate_ui ?? true}
.configValue=${'menu_buttons.fullscreen'}
@change=${this._valueChanged}
></ha-switch>
</ha-formfield>
<br />`
: ''}
<div class="option" @click=${this._toggleOption} .option=${'advanced'}>