-
-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Adding
ar
shorthand for aspect and support for numeric values…
… for aspect (#74) * adding shorthand "ar" to aspect keyword, allow number values like "aspect=1.5" * updating directive docs for `ar` shorthand and support for numeric values * adding `ar` to ResizeOptions interface, simplifying the logic for using `aspect` or `ar` * removing temporary test script Co-authored-by: Tony Sullivan <tony.f.sullivan@gmail.com>
- Loading branch information
Tony Sullivan
and
Tony Sullivan
authored
Apr 26, 2021
1 parent
d695aae
commit e96b7e3
Showing
6 changed files
with
74 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,4 +46,4 @@ | |
"dependencies": { | ||
"sharp": "^0.27.2" | ||
} | ||
} | ||
} |
3 changes: 3 additions & 0 deletions
3
..._/__image_snapshots__/resize-spec-ts-aspect-transform-basic-w-number-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters