home » dokk/dokk.org.git
Author zPlus <zplus@peers.community> 2022-08-27 14:25:12
Committer zPlus <zplus@peers.community> 2022-08-27 14:25:12
Commit 300f674 (patch)
Tree 032a1c8
Parent(s)

Reduce focus zoom. Reduce the default zoom level when a node is selected by clicking the search results.


commits diff: 7929fb7..300f674
1 file changed, 1 insertion, 1 deletiondownload


Diffstat
-rw-r--r-- index.html 2

Diff options
View
Side
Whitespace
Context lines
Inter-hunk lines
+1/-1 M   index.html
index d5afdf8..6740e5a
old size: 5K - new size: 5K
@@ -129,7 +129,7 @@
129 129 li.addEventListener("click", function(event) {
130 130 network.selectNodes([ result.id ]);
131 131 network.focus(result.id, {
132 - scale: 1.5,
132 + scale: 1.2,
133 133 animation: false
134 134 });
135 135 });