Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ianharrigan committed Feb 7, 2024
2 parents f3af242 + bd39a2d commit af0eb0f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions haxe/ui/components/ColorPicker.hx
Original file line number Diff line number Diff line change
Expand Up @@ -227,9 +227,12 @@ private class HSVColorPickerImpl extends ColorPickerImpl {
return;
}

//Seemingly breaks the color picker for no reason, commenting just in case.
/*
if (_currentColorRGBF.r == 255 && _currentColorRGBF.g == 255 && _currentColorRGBF.b == 255) {
return;
}
*/

var stepX = 100 / cx;
var stepY = 100 / cy;
Expand Down Expand Up @@ -263,9 +266,12 @@ private class HSVColorPickerImpl extends ColorPickerImpl {
return;
}

//Seemingly breaks the color picker for no reason, commenting just in case.
/*
if (_currentColorRGBF.r == 255 && _currentColorRGBF.g == 255 && _currentColorRGBF.b == 255) {
return;
}
*/

var step = 360 / cx;
var bytes = Bytes.alloc(Std.int(cx * cy * 4));
Expand Down

0 comments on commit af0eb0f

Please sign in to comment.