| 37 | } |
| 38 | |
| 39 | void Slider::onDragMove(const DragMoveEvent& e) { |
| 40 | if (quantity) { |
| 41 | quantity->moveScaledValue(SENSITIVITY * e.mouseDelta.x); |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | void Slider::onDragEnd(const DragEndEvent& e) { |
| 46 | APP->window->cursorUnlock(); |
nothing calls this directly
no test coverage detected