(isDragging)
| 201 | } |
| 202 | }, |
| 203 | setDragging(isDragging) { |
| 204 | let wasDragging = isDraggingRef.current; |
| 205 | isDraggingRef.current = isDragging; |
| 206 | |
| 207 | if (onChangeEnd && !isDragging && wasDragging) { |
| 208 | onChangeEnd(valueRef.current); |
| 209 | } |
| 210 | |
| 211 | setDragging(isDragging); |
| 212 | }, |
| 213 | isDragging, |
| 214 | getDisplayColor() { |
| 215 | return value |
nothing calls this directly
no test coverage detected