mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-27 13:40:47 +00:00
Shortcuts: Check for both capital and lowercase characters
This commit is contained in:
@@ -154,7 +154,7 @@ export const StickerButton = React.memo(
|
||||
const { ctrlKey, key, metaKey, shiftKey } = event;
|
||||
const ctrlOrCommand = metaKey || ctrlKey;
|
||||
|
||||
if (ctrlOrCommand && shiftKey && key === 's') {
|
||||
if (ctrlOrCommand && shiftKey && (key === 's' || key === 'S')) {
|
||||
event.stopPropagation();
|
||||
event.preventDefault();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user