fix note paths

This commit is contained in:
zadam
2019-05-19 21:22:35 +02:00
parent 119d7367da
commit f59f08fa0e
3 changed files with 55 additions and 72 deletions

View File

@@ -163,29 +163,10 @@ function registerEntrypoints() {
$("#toggle-fullscreen-button").hide();
}
// FIXME: do we really need these at this point?
utils.bindShortcut("ctrl+shift+up", () => {
const node = treeService.getActiveNode();
node.navigate($.ui.keyCode.UP, true);
$("#note-detail-text").focus();
});
// FIXME: do we really need these at this point?
utils.bindShortcut("ctrl+shift+down", () => {
const node = treeService.getActiveNode();
node.navigate($.ui.keyCode.DOWN, true);
$("#note-detail-text").focus();
});
if (utils.isElectron()) {
utils.bindShortcut('ctrl+-', zoomService.decreaseZoomFactor);
utils.bindShortcut('ctrl+=', zoomService.increaseZoomFactor);
}
$("#note-title").bind('keydown', 'return', () => $("#note-detail-text").focus());
}
export default {