Skip to content

Commit

Permalink
4.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
retyui committed May 16, 2023
1 parent b811d07 commit 09c7a19
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

This project adheres to [Semantic Versioning](http://semver.org/).

## 4.8.0

- Added [`centerContained: boolean`](https://github.com/retyui/react-quick-pinch-zoom/blob/master/docs/api/README.md#enforceboundsduringzoom-boolean) to allow ensuring that images remain centered as long as they still fit into the container. [#73](https://github.com/retyui/react-quick-pinch-zoom/pull/73) (thanks [Tim Fischbach](https://github.com/tf))

## 4.7.0

- Added [`enforceBoundsDuringZoom: boolean`](https://github.com/retyui/react-quick-pinch-zoom/blob/master/docs/api/README.md#enforceboundsduringzoom-boolean) prop to ensures that it's also not possible to move the image out of bounds with a pinch gesture. [#72](https://github.com/retyui/react-quick-pinch-zoom/pull/72) (thanks [Tim Fischbach](https://github.com/tf))
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-quick-pinch-zoom",
"version": "4.7.0",
"version": "4.8.0",
"main": "cmj/index.js",
"module": "esm/index.js",
"types": "esm/index.d.ts",
Expand Down

0 comments on commit 09c7a19

Please sign in to comment.