mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-09-20 07:35:55 +08:00
Resolve #1690
This commit is contained in:
parent
4e8f12a392
commit
d2f3aa1c10
|
@ -466,6 +466,11 @@ export class MailMessageView extends AbstractViewRight {
|
|||
}
|
||||
});
|
||||
|
||||
addShortcut('b', 'shift', [ScopeMessageList, ScopeMessageView], () => {
|
||||
currentMessage()?.swapColors?.();
|
||||
return false;
|
||||
});
|
||||
|
||||
addShortcut('arrowup,arrowleft', 'meta', [ScopeMessageList, ScopeMessageView], () => {
|
||||
this.goUpCommand();
|
||||
return false;
|
||||
|
|
|
@ -65,6 +65,7 @@
|
|||
<tbody>
|
||||
<tr><td data-i18n="SHORTCUTS_HELP/LABEL_FULLSCREEN_TOGGLE"></td><td>Enter, Open</td></tr>
|
||||
<tr><td data-i18n="SHORTCUTS_HELP/LABEL_BLOCKQUOTES_TOGGLE"></td><td>B</td></tr>
|
||||
<tr><td data-i18n="MESSAGE/SWAP_COLORS"></td><td>Shift + B</td></tr>
|
||||
<tr><td data-i18n="SHORTCUTS_HELP/LABEL_EXIT_FULLSCREEN"></td><td>Esc, Close</td></tr>
|
||||
<tr><td data-i18n="SHORTCUTS_HELP/LABEL_CLOSE_MESSAGE"></td><td>Esc, Close</td></tr>
|
||||
<tr><td data-i18n="SHORTCUTS_HELP/LABEL_SWITCH_TO_LIST"></td><td>Shift + Tab, Esc</td></tr>
|
||||
|
|
Loading…
Reference in a new issue