| 210 | } |
| 211 | |
| 212 | void RackWidget::onDragStart(const DragStartEvent& e) { |
| 213 | if (e.button == GLFW_MOUSE_BUTTON_LEFT) { |
| 214 | // Deselect all modules |
| 215 | updateSelectionFromRect(); |
| 216 | internal->selecting = true; |
| 217 | internal->selectionStart = internal->mousePos; |
| 218 | internal->selectionEnd = internal->mousePos; |
| 219 | } |
| 220 | } |
| 221 | |
| 222 | void RackWidget::onDragEnd(const DragEndEvent& e) { |
| 223 | if (e.button == GLFW_MOUSE_BUTTON_LEFT) { |
nothing calls this directly
no outgoing calls
no test coverage detected