feat: small state and naming fixes (#719)

This commit is contained in:
Wesley Luyten
2026-03-04 16:05:20 -06:00
committed by GitHub
parent 070d094444
commit 5c422452e4
25 changed files with 94 additions and 88 deletions
@@ -129,6 +129,6 @@ export class VolumeSliderElement extends MediaElement {
#setVolume(percent: number): void {
const media = this.#volumeState.value;
media?.changeVolume(this.#core.valueFromPercent(percent) / 100);
media?.setVolume(this.#core.valueFromPercent(percent) / 100);
}
}