File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
samples/KristofferStrube.Blazor.GraphEditor.WasmExample/Pages Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 99<h1 >Following Graph</h1 >
1010
1111<p >
12- The following shows a following graph for @@kristofferstrube@@hachyderm.io<br />
12+ The following shows a following graph from Mastodon for the user < b > @@kristofferstrube@@hachyderm.io</ b > <br />
1313
1414 @if (selectedUser is null )
1515 {
7676 {
7777 await GraphEditor .ForceDirectedLayout ();
7878 double unixTimeSeconds = DateTimeOffset .Now .ToUnixTimeMilliseconds () / 1000 . 0 ;
79- if (unixTimeSeconds - startUnixTimeSeconds < 7 )
79+ if (unixTimeSeconds - startUnixTimeSeconds < 2 )
8080 {
8181 GraphEditor .SVGEditor .FitViewportToAllShapes (delta : Math .Min ((unixTimeSeconds - prevUnixTimeSeconds ) * 2 , 1 ), padding : 100 );
8282 prevUnixTimeSeconds = unixTimeSeconds ;
You can’t perform that action at this time.
0 commit comments