Merge pull request #389 from ales-erjavec/scroll-phase-fix

Revert "ignore wheel events in GraphicsView if mouse disabled"
This commit is contained in:
Ogi Moore 2020-06-08 23:22:04 -07:00 committed by GitHub
commit b12f9174bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -325,7 +325,6 @@ class GraphicsView(QtGui.QGraphicsView):
def wheelEvent(self, ev):
QtGui.QGraphicsView.wheelEvent(self, ev)
if not self.mouseEnabled:
ev.ignore()
return
delta = 0