Remove special handling of Cmd-Shift-Z in notes
No longer relevant in standalone app
This commit is contained in:
parent
7a15c88972
commit
bf122add81
1 changed files with 0 additions and 17 deletions
|
@ -410,15 +410,6 @@
|
||||||
}
|
}
|
||||||
switch (event.type) {
|
switch (event.type) {
|
||||||
case 'keydown':
|
case 'keydown':
|
||||||
// Intercept and manually trigger redo for Cmd-Shift-Z,
|
|
||||||
// which keeps it from toggling the Zotero pane instead
|
|
||||||
if (Zotero.isMac && event.metaKey && event.shiftKey && !event.ctrlKey
|
|
||||||
&& !event.altKey && event.keyCode == 90) {
|
|
||||||
event.stopPropagation();
|
|
||||||
event.preventDefault();
|
|
||||||
this.redo();
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
// Handle forward-delete, which doesn't register as a keypress
|
// Handle forward-delete, which doesn't register as a keypress
|
||||||
// when a selection is cleared
|
// when a selection is cleared
|
||||||
if (event.which == event.DOM_VK_DELETE) {
|
if (event.which == event.DOM_VK_DELETE) {
|
||||||
|
@ -609,14 +600,6 @@
|
||||||
</body>
|
</body>
|
||||||
</method>
|
</method>
|
||||||
|
|
||||||
<method name="redo">
|
|
||||||
<body>
|
|
||||||
<![CDATA[
|
|
||||||
this._editor.undoManager.redo();
|
|
||||||
]]>
|
|
||||||
</body>
|
|
||||||
</method>
|
|
||||||
|
|
||||||
<method name="clearUndo">
|
<method name="clearUndo">
|
||||||
<body>
|
<body>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
|
|
Loading…
Reference in a new issue