| 30 | } |
| 31 | |
| 32 | void Slider::onDragStart(const DragStartEvent& e) { |
| 33 | if (e.button != GLFW_MOUSE_BUTTON_LEFT) |
| 34 | return; |
| 35 | |
| 36 | APP->window->cursorLock(); |
| 37 | } |
| 38 | |
| 39 | void Slider::onDragMove(const DragMoveEvent& e) { |
| 40 | if (quantity) { |
nothing calls this directly
no test coverage detected