diff --git a/layout/sidebar/audioplayer.pixy b/layout/sidebar/audioplayer.pixy index 3e72c29c..2665e4c7 100644 --- a/layout/sidebar/audioplayer.pixy +++ b/layout/sidebar/audioplayer.pixy @@ -7,4 +7,4 @@ component AudioPlayer button#audio-player-pause.fade-out.action(data-action="pauseAudio", data-trigger="click") RawIcon("pause") - input#audio-player-volume.action(data-action="setVolume", data-trigger="input", type="range", min="0", max="100", value="100") \ No newline at end of file + input#audio-player-volume.action(data-action="setVolume", data-trigger="input", type="range", min="0", max="100", value="50") \ No newline at end of file diff --git a/layout/sidebar/audioplayer.scarlet b/layout/sidebar/audioplayer.scarlet index a9ccc3ec..92013211 100644 --- a/layout/sidebar/audioplayer.scarlet +++ b/layout/sidebar/audioplayer.scarlet @@ -5,6 +5,7 @@ justify-content center align-items center margin 0.8rem 0 + min-height 90px .audio-player-play-pause-container position relative diff --git a/scripts/Actions/Audio.ts b/scripts/Actions/Audio.ts index 3ee6537c..735e388b 100644 --- a/scripts/Actions/Audio.ts +++ b/scripts/Actions/Audio.ts @@ -3,7 +3,7 @@ import { AnimeNotifier } from "../AnimeNotifier" var audioContext: AudioContext var audioNode: AudioBufferSourceNode var gainNode: GainNode -var volume = 1.0 +var volume = 0.5 var playId = 0 var audioPlayer = document.getElementById("audio-player") var audioPlayerPlay = document.getElementById("audio-player-play")