Commit dc9cd711 authored by Keegi's avatar Keegi

reversed layerup/layerdown direction on shift-mousewheel

parent 3e69e353
......@@ -25,8 +25,8 @@ class window(wx.Frame):
def zoom(self, event):
z=event.GetWheelRotation()
if event.ShiftDown():
if z > 0: self.p.layerup()
elif z < 0: self.p.layerdown()
if z > 0: self.p.layerdown()
elif z < 0: self.p.layerup()
else:
if z > 0: self.p.zoom(event.GetX(),event.GetY(),1.2)
elif z < 0: self.p.zoom(event.GetX(),event.GetY(),1/1.2)
......
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