Browse Source

HW 14 grb audio edit done

maryluis 4 years ago
parent
commit
65de42ea19
1 changed files with 2 additions and 2 deletions
  1. 2 2
      homework13js/rgb/asmerC.html

+ 2 - 2
homework13js/rgb/asmerC.html

@@ -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)