From 6a8ff676ed3c979d3c441ad72405a35f7bba8cac Mon Sep 17 00:00:00 2001 From: "Anthony J. Thibault" Date: Mon, 12 Oct 2015 17:32:18 -0700 Subject: [PATCH] Remove overlay hiding from middle mouse button. Because it conflicts with edit.js camera panning. You can still toggle the overlay via the O key. --- interface/src/Application.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index 9a6e2fff4d..8705c7b61d 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -1890,16 +1890,6 @@ void Application::mousePressEvent(QMouseEvent* event, unsigned int deviceID) { computePickRay(mappedEvent.x(), mappedEvent.y())); sendEvent(this, &actionEvent); - } else if (event->button() == Qt::RightButton) { - // "right click" on controllers to toggle the overlay - if (deviceID > 0) { - _overlayConductor.setEnabled(!_overlayConductor.getEnabled()); - } - } else if (event->button() == Qt::MiddleButton) { - // mouse middle click to toggle the overlay - if (deviceID == 0) { - _overlayConductor.setEnabled(!_overlayConductor.getEnabled()); - } } } }