mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Fix pinch-to-zoom on mac for the Firefox builtin viewer
In the mac case we don't want to care about the scaleFactor threshold because else if too big another move could start and then subsequent events aren't considered as wheel events. It isn't really ideal and at some point we'll need to find a way at least for the Firefox case to get the real events instead of the fake wheel ones.
This commit is contained in:
parent
c8d9ad894b
commit
c92ba393c2
2 changed files with 8 additions and 1 deletions
|
@ -32,6 +32,7 @@ import {
|
|||
CMapCompressionType,
|
||||
createPromiseCapability,
|
||||
createValidAbsoluteUrl,
|
||||
FeatureTest,
|
||||
InvalidPDFException,
|
||||
MissingPDFException,
|
||||
OPS,
|
||||
|
@ -89,6 +90,7 @@ export {
|
|||
CMapCompressionType,
|
||||
createPromiseCapability,
|
||||
createValidAbsoluteUrl,
|
||||
FeatureTest,
|
||||
getDocument,
|
||||
getFilenameFromUrl,
|
||||
getPdfFilenameFromUrl,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue