mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-24 06:06:09 +03:00
Compare commits
4 Commits
3c91862f34
...
426594a841
Author | SHA1 | Date | |
---|---|---|---|
|
426594a841 | ||
|
c1038af37d | ||
|
e836ffcc61 | ||
|
810987210c |
@ -2070,7 +2070,7 @@
|
||||
// y-index scrolling.
|
||||
// event.deltaMode: 0=pixel, 1=line, 2=page
|
||||
// TODO: Deltas in pixel mode should be accumulated then a scroll value computed after $.DEFAULT_SETTINGS.pixelsPerWheelLine threshold reached
|
||||
nDelta = event.deltaY < 0 ? 1 : -1;
|
||||
nDelta = event.deltaY ? (event.deltaY < 0 ? 1 : -1) : 0;
|
||||
|
||||
eventInfo = {
|
||||
originalEvent: event,
|
||||
|
Loading…
Reference in New Issue
Block a user