re-enable animation for expanding since it seems to fix fancytree rendering glitches

This commit is contained in:
zadam 2019-04-14 19:43:44 +02:00
parent 47cb7c7f5e
commit 77c9b64dc7
2 changed files with 2 additions and 2 deletions

View File

@ -117,7 +117,7 @@ $("body").on("click", "a.external", function () {
if (utils.isElectron()) {
require('electron').ipcRenderer.on('create-day-sub-note', async function(event) {
const todayNote = await dateNoteService.getTodayNote();
const node = await treeService.expandToNote(todayNote.noteId, {noAnimation: true});
const node = await treeService.expandToNote(todayNote.noteId);
await treeService.createNote(node, todayNote.noteId, 'into', {
type: "text",

View File

@ -151,7 +151,7 @@ async function activateNote(notePath, noteLoadedListener) {
glob.activeDialog.modal('hide');
}
const node = await expandToNote(notePath, {noAnimation: true});
const node = await expandToNote(notePath);
if (noteLoadedListener) {
noteDetailService.addDetailLoadedListener(node.data.noteId, noteLoadedListener);