Skip to content

Commit

Permalink
#1 avatars
Browse files Browse the repository at this point in the history
  • Loading branch information
Scobiform committed Apr 17, 2024
1 parent e902ce8 commit 618196f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/graph.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
.graphData(graphData)
.nodeCanvasObject((node, ctx, globalScale) => {
const label = node.username;
const fontSize = 28 / globalScale;
const imgSize = 42;
const fontSize = 12 / globalScale;
const imgSize = 28;
ctx.font = `${fontSize}px Sans-Serif`;
ctx.textAlign = 'center';
ctx.textBaseline = 'middle';
Expand Down

0 comments on commit 618196f

Please sign in to comment.