Skip to content

Commit

Permalink
feat: add aspectRatio to generateResizeFieldConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
veryspry committed Mar 14, 2022
1 parent 2905299 commit 5f77ea0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ export function generateResizeFieldConfig(
args: {
width: `Int`,
height: `Int`,
aspectRatio: `Float`,
fit: {
type: enums.fit.getTypeName(),
defaultValue: enums.fit.getField(`COVER`).value,
Expand Down

0 comments on commit 5f77ea0

Please sign in to comment.