mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-03-28 19:35:10 +03:00
Merge pull request #2043 from openseadragon/ms-passivewheel
Explicitly set passive:false for wheel event handlers to supress console warnings
This commit is contained in:
commit
d1a5e926c6
2 changed files with 2 additions and 1 deletions
|
@ -55,6 +55,7 @@ OPENSEADRAGON CHANGELOG
|
||||||
* Now ensuring that the new item is already in the navigator when the "add-item" event fires (#2005 @RammasEchor)
|
* Now ensuring that the new item is already in the navigator when the "add-item" event fires (#2005 @RammasEchor)
|
||||||
* Added keys to change image in sequence mode (j: previous, k: next) (#2007 @RammasEchor)
|
* Added keys to change image in sequence mode (j: previous, k: next) (#2007 @RammasEchor)
|
||||||
* Fixed a bug where the navigator wouldn't pick up opacity/composite changes made while it is loading (#2018 @crydell)
|
* Fixed a bug where the navigator wouldn't pick up opacity/composite changes made while it is loading (#2018 @crydell)
|
||||||
|
* Explicitly set passive:false for wheel event handlers to suppress console warnings. Fixes #1669 (#2043 @msalsbery)
|
||||||
* Viewer's canvas-click events now include an originalTarget property so you can know which element received the click (#2037 @iangilman)
|
* Viewer's canvas-click events now include an originalTarget property so you can know which element received the click (#2037 @iangilman)
|
||||||
|
|
||||||
2.4.2:
|
2.4.2:
|
||||||
|
|
|
@ -1465,7 +1465,7 @@
|
||||||
tracker.element,
|
tracker.element,
|
||||||
event,
|
event,
|
||||||
delegate[ event ],
|
delegate[ event ],
|
||||||
false
|
event === $.MouseTracker.wheelEventName ? { passive: false, capture: false } : false
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue