Commit 397e4f47 authored by Guillaume Seguin's avatar Guillaume Seguin

Don't require shift being pressed for panning in stlview

parent 1b4d8490
...@@ -201,7 +201,7 @@ class StlViewPanel(wxGLPanel): ...@@ -201,7 +201,7 @@ class StlViewPanel(wxGLPanel):
if self.initpos is not None: if self.initpos is not None:
self.initpos = None self.initpos = None
elif event.Dragging() and event.RightIsDown() and event.ShiftDown(): elif event.Dragging() and event.RightIsDown():
if self.initpos is None: if self.initpos is None:
self.initpos = event.GetPositionTuple() self.initpos = event.GetPositionTuple()
else: else:
......
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