Skip to content

Commit f063c11

Browse files
authored
Merge pull request #370 from FalkorDB/fix-nodes-label
Fix #369 replace text size to 2px
2 parents 1d3cd5c + e4794b1 commit f063c11

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/components/graphView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ export default function GraphView({
230230
ctx.fillStyle = 'black';
231231
ctx.textAlign = 'center';
232232
ctx.textBaseline = 'middle';
233-
ctx.font = '4px Arial';
233+
ctx.font = '2px Arial';
234234
const textWidth = ctx.measureText(node.name).width;
235235
const ellipsis = '...';
236236
const ellipsisWidth = ctx.measureText(ellipsis).width;

0 commit comments

Comments
 (0)