bug fix for color picker

This commit is contained in:
ori agranat
2019-12-03 19:52:31 +02:00
parent 9adde234b8
commit 8efd0a2b49
3 changed files with 20 additions and 32 deletions

View File

@@ -28,7 +28,7 @@ function colorPickerClick(event, currentFunction, currentRange) {
function eyeDrop(pixel) {
let hsv = RGBtoHSV(pixel);
range = widenRange([hsv,hsv.slice(0)]);//sends hsv and a copy of hsv
let range = widenRange([hsv,hsv.slice(0)]);//sends hsv and a copy of hsv
return range
}