-
Notifications
You must be signed in to change notification settings - Fork 715
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new(zoom): add pinch and zoom support (#1305)
* feat: added pinch and zoom support to visx-zoom * deps: update yarn.lock * chore: pr comments * feat: changed pinchDelta to match wheelDelta since you do not have access to zoom in callback * fix: zoom test * feat: enhanced performance by pulling out default props and adding memoization to onPinch handler Co-authored-by: Anthony Neel <aneel@snapchat.com> Co-authored-by: Chris Williams <chris.williams@airbnb.com>
- Loading branch information
1 parent
8759b2a
commit 2fc69e9
Showing
8 changed files
with
313 additions
and
225 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
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
Oops, something went wrong.