mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +01:00 
			
		
		
		
	re-enable animation for expanding since it seems to fix fancytree rendering glitches
This commit is contained in:
		| @@ -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); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user