mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-06-28 06:46:27 +00:00
Resolve #1780
This commit is contained in:
@@ -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], () => {
|
||||
|
||||
Reference in New Issue
Block a user