mirror of
https://github.com/home-assistant/frontend.git
synced 2025-08-01 13:37:47 +00:00
Remove a testing section
This commit is contained in:
parent
45de1503ad
commit
9326d7d477
@ -275,7 +275,7 @@ export class HuiMediaControlCard extends LitElement implements LovelaceCard {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private _handleSeek(e: MouseEvent): void {
|
private _handleSeek(e: MouseEvent): void {
|
||||||
const percent = (e.offsetX * 1) / this.offsetWidth;
|
const percent = e.offsetX / this.offsetWidth;
|
||||||
const position = (e.currentTarget! as any).max * percent;
|
const position = (e.currentTarget! as any).max * percent;
|
||||||
|
|
||||||
this.hass!.callService("media_player", "media_seek", {
|
this.hass!.callService("media_player", "media_seek", {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user