(stepSize = 1)
| 182 | return angleToCartesian(value.getChannelValue('hue'), radius); |
| 183 | }, |
| 184 | increment(stepSize = 1) { |
| 185 | let s = Math.max(stepSize, step); |
| 186 | let newValue = hue + s; |
| 187 | if (newValue >= maxValueX) { |
| 188 | // Make sure you can always get back to 0. |
| 189 | newValue = minValueX; |
| 190 | } |
| 191 | setHue(roundToStep(mod(newValue, 360), s)); |
| 192 | }, |
| 193 | decrement(stepSize = 1) { |
| 194 | let s = Math.max(stepSize, step); |
| 195 | if (hue === 0) { |
nothing calls this directly
no test coverage detected