mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-12-24 11:40:31 -05:00
Small correction to F11/F12 actions.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/map65@612 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
19f6310c14
commit
2bc0460d62
3
map65.py
3
map65.py
@ -895,14 +895,13 @@ def mouse_up_g1(event):
|
||||
#------------------------------------------------------ right_arrow
|
||||
def right_arrow(event=NONE):
|
||||
n=5*int(Audio.gcom2.mousedf/5)
|
||||
if n>0: n=n+5
|
||||
if n!=0: n=n+5
|
||||
if n==Audio.gcom2.mousedf: n=n+5
|
||||
Audio.gcom2.mousedf=n
|
||||
|
||||
#------------------------------------------------------ left_arrow
|
||||
def left_arrow(event=NONE):
|
||||
n=5*int(Audio.gcom2.mousedf/5)
|
||||
if n<0: n=n-5
|
||||
if n==Audio.gcom2.mousedf: n=n-5
|
||||
Audio.gcom2.mousedf=n
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user