Fix color picker color needing to change in order to work afer a different button is pressed
This commit is contained in:
parent
75c50f7719
commit
a94e989f5f
1 changed files with 1 additions and 0 deletions
|
|
@ -36,6 +36,7 @@ buttons.forEach((button) => {
|
|||
|
||||
colorPicker.addEventListener("input", changeColor);
|
||||
colorPicker.addEventListener("change", changeColor);
|
||||
colorPicker.addEventListener("click", changeColor);
|
||||
backColorPicker.addEventListener("input", pickBackground);
|
||||
|
||||
transSlider.addEventListener("input", adjustTransparency);
|
||||
|
|
|
|||
Loading…
Reference in a new issue