Replace ha-paper-slider with ha-slider

This commit is contained in:
Steven Rollason 2020-10-09 17:28:53 +01:00 committed by Thomas Lovén
parent 5258130946
commit 343f421416

View File

@ -62,14 +62,14 @@ class BrowserPlayer extends LitElement {
} }
@click=${this.handleMute} @click=${this.handleMute}
></ha-icon-button> ></ha-icon-button>
<ha-paper-slider <ha-slider
min=0 min=0
max=1 max=1
step=0.01 step=0.01
?disabled=${player.muted} ?disabled=${player.muted}
value=${player.volume} value=${player.volume}
@change=${this.handleVolumeChange} @change=${this.handleVolumeChange}
></ha-paper-slider> ></ha-slider>
${window.browser_mod.player_state === "stopped" ${window.browser_mod.player_state === "stopped"
? html`<div class="placeholder"></div>` ? html`<div class="placeholder"></div>`