Skip to content

Commit

Permalink
[#18] Refine toggling tape pause.
Browse files Browse the repository at this point in the history
  • Loading branch information
kosarev committed Feb 14, 2021
1 parent 4584b27 commit 46a0f03
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion zx/_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def __init__(self, emulator):
'F1': self._show_help,
'F2': self._save_snapshot,
'F3': self._choose_and_load_file,
'F6': self.xmachine._toggle_tape_pause,
'F6': self.__toggle_tape_pause,
'F11': self._toggle_fullscreen,
'PAUSE': self.__toggle_pause,
}
Expand Down Expand Up @@ -438,5 +438,8 @@ def _on_quantum_run(self, event):
def __toggle_pause(self):
self.xmachine.paused ^= True

def __toggle_tape_pause(self):
self.xmachine._toggle_tape_pause()

def destroy(self):
self._window.destroy()

0 comments on commit 46a0f03

Please sign in to comment.