mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-22 01:11:40 +00:00
bug fix for color picker
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user