Fixed change position keystroke handlers
This commit is contained in:
parent
8292a88510
commit
15ab0bb38d
@ -100,10 +100,11 @@ class Controller(object):
|
|||||||
player.player.player.set_time(position-5000)
|
player.player.player.set_time(position-5000)
|
||||||
else:
|
else:
|
||||||
player.player.player.set_time(0)
|
player.player.player.set_time(0)
|
||||||
|
return
|
||||||
elif ev.GetKeyCode() == wx.WXK_RIGHT and ev.ShiftDown():
|
elif ev.GetKeyCode() == wx.WXK_RIGHT and ev.ShiftDown():
|
||||||
position = player.player.player.get_time()
|
position = player.player.player.get_time()
|
||||||
player.player.player.set_time(position+5000)
|
player.player.player.set_time(position+5000)
|
||||||
|
return
|
||||||
elif ev.GetKeyCode() == wx.WXK_UP and ev.ControlDown():
|
elif ev.GetKeyCode() == wx.WXK_UP and ev.ControlDown():
|
||||||
return self.on_volume_up()
|
return self.on_volume_up()
|
||||||
elif ev.GetKeyCode() == wx.WXK_DOWN and ev.ControlDown():
|
elif ev.GetKeyCode() == wx.WXK_DOWN and ev.ControlDown():
|
||||||
|
Loading…
Reference in New Issue
Block a user