mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-10 15:08:28 +03:00
Resolve #1780
This commit is contained in:
parent
198cc852c3
commit
dc7eed4c80
1 changed files with 6 additions and 3 deletions
|
|
@ -20,7 +20,8 @@ import {
|
|||
fireEvent,
|
||||
stopEvent,
|
||||
addShortcut,
|
||||
registerShortcut
|
||||
registerShortcut,
|
||||
formFieldFocused
|
||||
} from 'Common/Globals';
|
||||
|
||||
import { arrayLength } from 'Common/Utils';
|
||||
|
|
@ -467,8 +468,10 @@ export class MailMessageView extends AbstractViewRight {
|
|||
});
|
||||
|
||||
addShortcut('b', 'shift', [ScopeMessageList, ScopeMessageView], () => {
|
||||
currentMessage()?.swapColors?.();
|
||||
return false;
|
||||
if (!formFieldFocused()) {
|
||||
currentMessage()?.swapColors?.();
|
||||
return false;
|
||||
}
|
||||
});
|
||||
|
||||
addShortcut('arrowup,arrowleft', 'meta', [ScopeMessageList, ScopeMessageView], () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue