Skip to content

Commit

Permalink
Present theme aspect ratios as decimal values
Browse files Browse the repository at this point in the history
  • Loading branch information
stian-overasen committed Nov 26, 2024
1 parent 3f6b883 commit 96f5f67
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,9 @@ export default function AspectRatioDropdown( { toggleProps } ) {
onClose();
} }
value={ aspect }
aspectRatios={ themeRatios }
aspectRatios={ themeRatios.map(
presetRatioAsNumber
) }
/>
) }
{ showDefaultRatios && (
Expand Down

0 comments on commit 96f5f67

Please sign in to comment.