mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-05 12:13:37 +02:00
E-book viewer: Read aloud: Allow right clicking to play/pause reading. Fixes #1946439 [[Enhancement - E-book viewer] Right mouse click to pause/play Read aloud](https://bugs.launchpad.net/calibre/+bug/1946439)
This commit is contained in:
parent
dd4da79f8f
commit
88cf8ff2bb
1 changed files with 1 additions and 0 deletions
|
|
@ -46,6 +46,7 @@ def __init__(self, view):
|
|||
))
|
||||
container.addEventListener('keydown', self.on_keydown, {'passive': False})
|
||||
container.addEventListener('click', self.container_clicked, {'passive': False})
|
||||
container.addEventListener('contextmenu', self.toggle, {'passive': False})
|
||||
|
||||
@property
|
||||
def container(self):
|
||||
|
|
|
|||
Loading…
Reference in a new issue