updated note menu with current shortcuts

This commit is contained in:
zadam
2019-11-23 22:56:35 +01:00
parent 92cb723d0c
commit 0cde7ede24
16 changed files with 259 additions and 204 deletions

View File

@@ -84,6 +84,10 @@ const DEFAULT_KEYBOARD_ACTIONS = [
actionName: "ShowHelp",
defaultShortcuts: ["F1"]
},
{
actionName: "PrintActiveNote",
defaultShortcuts: []
},
{
actionName: "CreateNoteAfter",
defaultShortcuts: ["CommandOrControl+O"]
@@ -262,11 +266,7 @@ const DEFAULT_KEYBOARD_ACTIONS = [
{
actionName: "ZoomIn",
defaultShortcuts: ["CommandOrControl+="]
},
{
actionName: "MarkdownToHTML",
defaultShortcuts: ["CommandOrControl+Return"]
},
}
];
if (process.platform === "darwin") {
@@ -312,7 +312,7 @@ async function getKeyboardActions() {
}
}
else {
log.info(`Keyboard action ${actionName} not found.`);
log.info(`Keyboard action ${actionName} found in database, but not in action definition.`);
}
}
}