From ed0f7e96843373d5a224c3491956f472c04a089b Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 5 Jan 2021 16:22:07 +0530 Subject: [PATCH] Add an alias fo rthe play/pause toggle key --- src/pyj/read_book/read_aloud.pyj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pyj/read_book/read_aloud.pyj b/src/pyj/read_book/read_aloud.pyj index ea556a6222..88c557e7b0 100644 --- a/src/pyj/read_book/read_aloud.pyj +++ b/src/pyj/read_book/read_aloud.pyj @@ -188,7 +188,7 @@ class ReadAloud: if ev.key is 'Escape': self.hide() return - if ev.key is ' ' or ev.key is 'MediaPlayPause': + if ev.key is ' ' or ev.key is 'MediaPlayPause' or ev.key is 'PlayPause': self.toggle() return if ev.key is 'Play' or ev.key is 'MediaPlay':