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 deletion
—
download
Diffstat
Diff options
+1/-1
M index.html
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
|
|
});
|