Commit ce78c8d0 authored by Guillaume Seguin's avatar Guillaume Seguin

Minor cleanup in gcview

parent ebe96bf4
......@@ -341,9 +341,9 @@ class GcodeViewPanel(wxGLPanel):
self.handle_rotation(event)
elif event.Dragging() and event.RightIsDown():
self.handle_translation(event)
elif event.ButtonUp(wx.MOUSE_BTN_LEFT):
elif event.LeftUp():
self.initpos = None
elif event.ButtonUp(wx.MOUSE_BTN_RIGHT):
elif event.RightUp():
self.initpos = None
else:
event.Skip()
......
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