|
@@ -137,7 +137,7 @@
|
|
|
this.audio.style = "margin: 20px"
|
|
|
this.audioContainer.appendChild(audio);
|
|
|
|
|
|
- this.audioVolume = new Control(audioContainer, {value: -500, max: 1, min: 0, step: 0.00000001});
|
|
|
+ this.audioVolume = new Control(audioContainer, {value: 1, max: 1, min: 0, step: 0.00000001});
|
|
|
this.audioVolume.onChange = () => this.changeVolume(this.audioVolume.getValue())
|
|
|
|
|
|
this.volumeControl = document.getElementById("volumeControl");
|
|
@@ -145,7 +145,7 @@
|
|
|
this.img[0].style = "width: 100px"
|
|
|
|
|
|
this.valueDirection = document.createElement("span");
|
|
|
- this.valueDirection.innerText = `${this.audioVolume.getValue()}`
|
|
|
+ this.valueDirection.innerText = `100`
|
|
|
this.audioContainer.appendChild(this.valueDirection)
|
|
|
|
|
|
|