Update index.html
Browse files- index.html +2 -2
index.html
CHANGED
@@ -952,7 +952,7 @@
|
|
952 |
|
953 |
// ボリューム設定
|
954 |
const volumeSlider = document.querySelector(`.audio-slider[data-audio="${file}"]`);
|
955 |
-
const volume = parseFloat(volumeSlider.value) * parseFloat(globalVolumeSlider.value);
|
956 |
audio.volume = volume;
|
957 |
|
958 |
// 再生速度設定
|
@@ -1045,7 +1045,7 @@
|
|
1045 |
volumeValues[index].textContent = value.toFixed(2);
|
1046 |
|
1047 |
if (audioElements[this.dataset.audio]) {
|
1048 |
-
const globalVolume = parseFloat(globalVolumeSlider.value);
|
1049 |
audioElements[this.dataset.audio].volume = value * globalVolume;
|
1050 |
}
|
1051 |
} catch (error) {
|
|
|
952 |
|
953 |
// ボリューム設定
|
954 |
const volumeSlider = document.querySelector(`.audio-slider[data-audio="${file}"]`);
|
955 |
+
const volume = parseFloat(volumeSlider.value) * parseFloat(globalVolumeSlider.value/10);
|
956 |
audio.volume = volume;
|
957 |
|
958 |
// 再生速度設定
|
|
|
1045 |
volumeValues[index].textContent = value.toFixed(2);
|
1046 |
|
1047 |
if (audioElements[this.dataset.audio]) {
|
1048 |
+
const globalVolume = parseFloat(globalVolumeSlider.value/10);
|
1049 |
audioElements[this.dataset.audio].volume = value * globalVolume;
|
1050 |
}
|
1051 |
} catch (error) {
|