-
-
Notifications
You must be signed in to change notification settings - Fork 417
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(zoom): need the before and after dimensions to constrain
Fixes gh-426
- Loading branch information
Showing
6 changed files
with
94 additions
and
68 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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import Panzoom from '../src/panzoom' | ||
|
||
declare global { | ||
interface Window { | ||
Panzoom: typeof Panzoom | ||
} | ||
} | ||
window.Panzoom = Panzoom |
Oops, something went wrong.