refactor: make syncVolumeUI private

This commit is contained in:
2026-06-21 01:11:53 +02:00
committed by Milas Holsting
parent 82cee146de
commit c732d86018

View File

@@ -71,7 +71,7 @@ export const toggleFullscreen = (): void => {
};
// syncs volume slider, underline, and mute icon
export const syncVolumeUI = (): void => {
const syncVolumeUI = (): void => {
const { volumeRange, volumeUnderline } = getControls();
const value = state.elements.video.muted ? 0 : Math.round(state.elements.video.volume * 100);
if (volumeRange) {