mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
re-enable animation for expanding since it seems to fix fancytree rendering glitches
This commit is contained in:
parent
47cb7c7f5e
commit
77c9b64dc7
@ -117,7 +117,7 @@ $("body").on("click", "a.external", function () {
|
|||||||
if (utils.isElectron()) {
|
if (utils.isElectron()) {
|
||||||
require('electron').ipcRenderer.on('create-day-sub-note', async function(event) {
|
require('electron').ipcRenderer.on('create-day-sub-note', async function(event) {
|
||||||
const todayNote = await dateNoteService.getTodayNote();
|
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', {
|
await treeService.createNote(node, todayNote.noteId, 'into', {
|
||||||
type: "text",
|
type: "text",
|
||||||
|
@ -151,7 +151,7 @@ async function activateNote(notePath, noteLoadedListener) {
|
|||||||
glob.activeDialog.modal('hide');
|
glob.activeDialog.modal('hide');
|
||||||
}
|
}
|
||||||
|
|
||||||
const node = await expandToNote(notePath, {noAnimation: true});
|
const node = await expandToNote(notePath);
|
||||||
|
|
||||||
if (noteLoadedListener) {
|
if (noteLoadedListener) {
|
||||||
noteDetailService.addDetailLoadedListener(node.data.noteId, noteLoadedListener);
|
noteDetailService.addDetailLoadedListener(node.data.noteId, noteLoadedListener);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user