mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 11:56:01 +01:00
custom implementation of similar notes algorithm
This commit is contained in:
@@ -141,7 +141,7 @@ export default class SimilarNotesWidget extends TabAwareWidget {
|
||||
}
|
||||
|
||||
const $item = (await linkService.createNoteLink(similarNote.notePath.join("/")))
|
||||
.css("font-size", 24 * similarNote.score);
|
||||
.css("font-size", 24 * (1 - 1 / (similarNote.score - 1)));
|
||||
|
||||
$list.append($item);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user