mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 13:26:01 +01:00
fixes to link parsing and tweaks
This commit is contained in:
@@ -65,7 +65,7 @@ export default class LinkMap {
|
||||
graph,
|
||||
// param explanation here: https://github.com/dhotson/springy/issues/58
|
||||
400.0, // Spring stiffness
|
||||
400.0, // Node repulsion
|
||||
200.0, // Node repulsion
|
||||
0.15 // Damping
|
||||
);
|
||||
|
||||
@@ -79,6 +79,10 @@ export default class LinkMap {
|
||||
|
||||
const note = notes.find(n => n.noteId === noteId);
|
||||
|
||||
if (!note) {
|
||||
return null;
|
||||
}
|
||||
|
||||
const $noteBox = $("<div>")
|
||||
.addClass("note-box")
|
||||
.prop("id", noteBoxId);
|
||||
|
||||
Reference in New Issue
Block a user