1
0
mirror of https://github.com/jiahaog/Nativefier synced 2024-06-21 07:06:35 +02:00

Change Paste and Match Style shortcut to match Apple's HIG advice (PR #1387, fix #404)

This commit is contained in:
Adam Weeden 2022-04-18 18:41:27 -04:00 committed by GitHub
parent 6a949ca481
commit f6a1e30085
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -115,7 +115,10 @@ export function generateMenu(
},
{
label: 'Paste and Match Style',
accelerator: 'CmdOrCtrl+Shift+V',
// https://github.com/nativefier/nativefier/issues/404
// Apple's HIG lists this shortcut for paste and match style
// https://support.apple.com/en-us/HT209651
accelerator: isOSX() ? 'Option+Shift+Cmd+V' : 'Ctrl+Shift+V',
role: 'pasteAndMatchStyle',
},
{