-
Notifications
You must be signed in to change notification settings - Fork 493
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add touchscreen drag/zoom support (#93)
* Add touchscreen pan/zoom support * Add polyfill for Pointer Events API Hopefully this commit can be reverted at some point in the future * Use minified pointer events polyfill * Code style fixes for touchscreen support * Add two-finger tap gesture to reset zoom * Touch support: more style fixes
- Loading branch information
1 parent
afe7f4f
commit 0423adf
Showing
5 changed files
with
189 additions
and
52 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 |
---|---|---|
|
@@ -611,3 +611,7 @@ a { | |
.dark a { | ||
color: #00b9fd; | ||
} | ||
|
||
#frontcanvas, #backcanvas { | ||
touch-action: none; | ||
} |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.