summaryrefslogtreecommitdiff
path: root/app/components/graph
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2021-07-17 17:08:28 +0200
committerThomas F. K. Jorna <[email protected]>2021-07-17 17:08:28 +0200
commit12b8e2b27902707f289d790d2c943a342c8aefe6 (patch)
treeafdd8cc20450f2e92559196c08c62721f016f1fd /app/components/graph
parent47bdd66bcf8cdb90ab31b6f0a129c2120fa01d77 (diff)
slightly less dramatic fade
Diffstat (limited to 'app/components/graph')
-rw-r--r--app/components/graph/graph.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/components/graph/graph.tsx b/app/components/graph/graph.tsx
index 1b3bab8..7e0b77e 100644
--- a/app/components/graph/graph.tsx
+++ b/app/components/graph/graph.tsx
@@ -212,7 +212,7 @@ export const Graph = observer(function Graph(props: GraphProps): JSX.Element {
ctx.textAlign = 'center';
ctx.textBaseline = 'middle';
- ctx.fillStyle = 'rgb(255, 255, 255, ' + Math.min(4*(globalScale - physics.labelScale)/physics.labelScale, 1) + ')';
+ ctx.fillStyle = 'rgb(255, 255, 255, ' + Math.min(3*(globalScale - physics.labelScale)/physics.labelScale, 1) + ')';
ctx.fillText(label, node.x, node.y);
node.__bckgDimensions = bckgDimensions; // to re-use in nodePointerAreaPaint