Commit a8260b64 authored by Ingo B.'s avatar Ingo B.
Browse files

- Disables panning of the whole scene by mousewheel if the event is not

  catched earlier by an item implementing this. Test it at the empty space 
  where the auto button appears in the plot window or on the scaleItems.
  Which element does this panning by default? parents: scene or view?
parent 1efb60a9
......@@ -876,7 +876,9 @@ class PlotItem(QtGui.QGraphicsWidget):
mode = False
return mode
def wheelEvent(self, ev):
# disables panning the whole scene by mousewheel
#def mousePressEvent(self, ev):
#self.mousePos = array([ev.pos().x(), ev.pos().y()])
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment