Fix rotation of knob at reset
This commit is contained in:
parent
2f8e7449d2
commit
3296b0c659
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ function resetGrid() {
|
||||||
backColorPicker.value = "#b4feeb";
|
backColorPicker.value = "#b4feeb";
|
||||||
colorPicker.value = "#000000";
|
colorPicker.value = "#000000";
|
||||||
colorValue = "black";
|
colorValue = "black";
|
||||||
rangeKnob.style.transform = `rotate(${gridSlider.value}deg)`;
|
rangeKnob.style.transform = `rotate(101.309deg)`;
|
||||||
transSlider.value = 1;
|
transSlider.value = 1;
|
||||||
transSlider.style.backgroundColor = "rgb(180, 254, 235)";
|
transSlider.style.backgroundColor = "rgb(180, 254, 235)";
|
||||||
rangeSlider.style.setProperty('--canvas-color', "rgb(180, 254, 235)");
|
rangeSlider.style.setProperty('--canvas-color', "rgb(180, 254, 235)");
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue