mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 18:25:37 +02:00
[Editor] Bind redo action on meta+shift+z on mac (bug 1844293)
This commit is contained in:
parent
f19991a36f
commit
295eb13a44
1 changed files with 9 additions and 1 deletions
|
@ -555,7 +555,15 @@ class AnnotationEditorUIManager {
|
||||||
],
|
],
|
||||||
[["ctrl+z", "mac+meta+z"], AnnotationEditorUIManager.prototype.undo],
|
[["ctrl+z", "mac+meta+z"], AnnotationEditorUIManager.prototype.undo],
|
||||||
[
|
[
|
||||||
["ctrl+y", "ctrl+shift+Z", "mac+meta+shift+Z"],
|
// On mac, depending of the OS version, the event.key is either "z" or
|
||||||
|
// "Z" when the user presses "meta+shift+z".
|
||||||
|
[
|
||||||
|
"ctrl+y",
|
||||||
|
"ctrl+shift+z",
|
||||||
|
"mac+meta+shift+z",
|
||||||
|
"ctrl+shift+Z",
|
||||||
|
"mac+meta+shift+Z",
|
||||||
|
],
|
||||||
AnnotationEditorUIManager.prototype.redo,
|
AnnotationEditorUIManager.prototype.redo,
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue