Add text and styles to footer and add reset function to slider value
This commit is contained in:
parent
c6fa64c980
commit
2f8e7449d2
3 changed files with 9 additions and 0 deletions
|
|
@ -62,6 +62,7 @@ function resetGrid() {
|
|||
transSlider.value = 1;
|
||||
transSlider.style.backgroundColor = "rgb(180, 254, 235)";
|
||||
rangeSlider.style.setProperty('--canvas-color', "rgb(180, 254, 235)");
|
||||
rangeSlider.style.setProperty('--range-value', `100%`);
|
||||
transLabel.textContent = transSlider.value
|
||||
|
||||
getGridDimensions();
|
||||
|
|
|
|||
Loading…
Reference in a new issue