Skip to content

Commit

Permalink
Added large fonts for default plot legends if width is greater than 9…
Browse files Browse the repository at this point in the history
…0 pixels
  • Loading branch information
tomktjemsland committed Mar 4, 2024
1 parent 4f7a6b1 commit d9a879d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": false,
"name": "@equinor/videx-wellog",
"version": "0.9.0",
"version": "0.9.1",
"license": "MIT",
"description": "Visualisation components for wellbore log data",
"repository": "https://github.com/equinor/videx-wellog",
Expand Down
1 change: 1 addition & 0 deletions src/plots/legend/default-plot-legend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@ export default function renderDefaultPlotLegend(
legendInfo.unit,
plot.scale?.domain() || [0, 1],
plot.options.color,
{ largeFontEnabled: true },
);
}

0 comments on commit d9a879d

Please sign in to comment.