Skip to content

Commit

Permalink
improved lightshow
Browse files Browse the repository at this point in the history
  • Loading branch information
Unreal-Dan committed Aug 17, 2024
1 parent 1fdf6b5 commit 6f0f8a6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/assets/js/ColorSelect.js
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,8 @@ function showSaturationDropdown(index, refinedHueValue) {
{ value: 0, color: `hsl(${refinedHueValue}, 0%, 100%)` } // White
];

console.log(saturations);

const saturationDropdown = createDropdown(saturations, (saturationValue) => {
const baseLightness = calculateLightnessForSaturation(saturationValue);
showBrightnessDropdown(index, refinedHueValue, saturationValue, baseLightness);
Expand Down

0 comments on commit 6f0f8a6

Please sign in to comment.