Skip to content

Commit

Permalink
Allow switching to custom aspect ratio on VisCanvas in Storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
axelboc committed Jul 26, 2023
1 parent 4d3c8c8 commit 5de36e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/storybook/src/HeatmapVis.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const meta = {
},
aspect: {
control: { type: 'inline-radio' },
options: ['auto', 'equal'],
options: ['auto', 'equal', 0.25],
},
},
} satisfies Meta<typeof HeatmapVis>;
Expand Down
2 changes: 1 addition & 1 deletion apps/storybook/src/HeatmapVisDisplay.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const AutoAspectRatio = {

export const CustomAspectRatio = {
args: {
aspect: 2,
aspect: 0.25,
},
} satisfies Story;

Expand Down

0 comments on commit 5de36e5

Please sign in to comment.