1714 Commits

Author SHA1 Message Date
Sebastien ROBERT
2aebdbd066 Renamed subPixelRounding to subPixelRoundingForTransparency, changed fallback to '*', introduced SUBPIXEL_ROUNDING_OCCURRENCES numbers, added support for simple mode 2021-12-22 14:16:11 +09:00
Ian Gilman
b1cf63eaff
Merge pull request #2073 from Abhishek-90/master
Changed Console.log in SRC
2021-12-17 14:51:40 -08:00
Ian Gilman
d9494c6d7f
Merge pull request #2069 from JachiOnuoha/JachiOnuoha-ArrowKeysBug
Fixed Arrow keys by pass panVertical/panHorizontal bug
2021-12-17 14:49:12 -08:00
Abhishek-90
77c47cdd09 Made changes in ReferenceStrip.js 2021-12-15 11:54:11 +05:30
Sebastien ROBERT
e5b608d86a Extends the fix for seams in transparent images to any browsers, making it configurable 2021-12-13 14:20:11 +09:00
Abhishek-90
200bd607d8 Changed Console.log in SRC 2021-12-10 19:12:14 +05:30
Aiosa
3782ea2284
Merge branch 'openseadragon:master' into master 2021-12-08 09:59:05 +01:00
Aiosa
a11b5ce602 Support for POST data in the ajax requests. 2021-12-08 09:54:14 +01:00
Jachimike Onuoha
46099f3dfb
Merge branch 'openseadragon:master' into JachiOnuoha 2021-12-07 13:27:42 -05:00
Jachimike Onuoha
0a06c5b6a4 Updated boolean logic for preventVerticalPan and preventHorizontalPan 2021-12-06 23:33:58 -05:00
Jachimike Onuoha
a42e08c1ed Minor documentation updates 2021-12-06 23:19:12 -05:00
Jachimike Onuoha
5b8a22e848
Merge branch 'openseadragon:master' into JachiOnuoha-ArrowKeysBug 2021-12-02 16:56:18 -05:00
Jachimike Onuoha
f84d241367 Corrected documentation and isFullScreen function 2021-12-02 16:55:07 -05:00
Jachimike Onuoha
1fde705785 Fixed Arrowkey panning bug 2021-12-02 14:45:55 -05:00
Sanghoon Kim
7686812336 Fix maxLevel typo 2021-12-01 10:01:18 +09:00
Jachimike Onuoha
2edf48e880 Temporary fix for arrow key panVertical bug 2021-11-30 17:43:11 -05:00
Sanghoon Kim
24d5d98548 Add the description of setMaxLevel 2021-11-30 13:23:30 +09:00
Sanghoon Kim
f8c97143e8 Modify the TileSource constructor and _memoizeLevelScale 2021-11-30 11:40:06 +09:00
Jachimike Onuoha
664b707e5f Added isFullscreen function to viewer.js 2021-11-29 15:33:37 -05:00
Jachimike Onuoha
45ee4cd7a9 Added jsdocs fixes as discussed in the issue 2021-11-28 19:46:45 -05:00
Sanghoon Kim
de39597c14 Add setMaxLevel to initialize getLevelScale memoization 2021-11-23 16:58:00 +09:00
Sanghoon Kim
91793ce752 Revert "Merge pull request #2059 from kim-sanghoon/fix/getLevelScale"
This reverts commit 1454ac791a0a2d538a58678374b7829f7c3f1fbb, reversing
changes made to fcca75c57e9707be8a552bb824c8b6f5f899ee75.
2021-11-23 16:22:41 +09:00
Ian Gilman
c4904fb460 No longer firing canvas-drag-end if there is no canvas-drag preceding 2021-11-18 13:45:50 -08:00
Sanghoon Kim
63a4f87716 Fix getLevelScale to use image dimensions 2021-11-09 21:56:01 +09:00
superbland
446382f5a1 Use correct method for imageToWindowCoordinates 2021-11-04 19:43:59 +00:00
superbland
92bcfa5416 Rename method, update logic 2021-11-04 19:35:46 +00:00
superbland
11ef3fcfbb Add utility method for getting relative size 2021-10-09 16:25:53 +01:00
Ian Gilman
267c8c65cd Merge branch 'master' into ms-passivewheel 2021-09-27 11:38:31 -07:00
Ian Gilman
0d1956de05
Merge pull request #2042 from openseadragon/ms-pointerevents
Removed unnecessary touch-action:none and pointer-events:none settings on overlay container DIV
2021-09-27 11:29:28 -07:00
Mark Salsbery
9c2f46cb19 Explicitly set passive:false for wheel event handlers to supress console warnings 2021-09-24 16:20:04 -07:00
Mark Salsbery
803ade38d8 Removed touch-action:none setting 2021-09-23 14:35:09 -07:00
Mark Salsbery
ca736de339 Removed unnecessary pointer-events:none setting on overlay container DIV 2021-09-23 14:16:39 -07:00
Ian Gilman
ecfe380b17 Fixed spelling of isStoppable 2021-09-22 11:41:17 -07:00
Ian Gilman
6761bd9375 Added documentation for originalTarget 2021-09-22 11:37:55 -07:00
Ian Gilman
533a8ba532 Attempting to get the original target for click events 2021-09-20 11:41:23 -07:00
crydell
9724174a5b
Navigator is matched to viewer when it succeeds 2021-08-11 12:59:14 +02:00
Luis Nieto
22bb516bc0 Change the way we access some viewer methods 2021-07-12 13:42:31 -05:00
Luis Nieto
1f73dde983 Move change image source's methods inside viewer
Added the methods inside the extend function, so that they appear
as properties. Since we cannot reference properties of an object inside
said object, we extract them as properties when needed.
2021-07-09 16:09:46 -05:00
Luis Nieto
5889f34695 Add keys to change image source in sequence mode
Add the keys 'j' and 'k' to change the image source in the viewer.
- 'j': previous source
- 'k': next source
2021-07-08 23:43:38 -05:00
Luis Nieto
932b826c4d Flip the order in which view and navigator add a new item
This change ensures that the added items are updated first in the
navigator's world. If the viewer's world is updated first, it fires
an add-item event, which in turn it may encounter a setItemIndex call;
since the navigator's world does not have the item yet, an error
occurs.
2021-07-05 15:17:30 -05:00
Hernán Cervera
69aba71f79 Cleanup on viewer destroy and register on Viewer()
Other changes:

- ESLint comment about undeclared variable Map removed, since Map
  is now registered as a global in .eslintrc.*
  // eslint-disable-next-line no-undef
- Mark as private the property _viewers of OpenSeadragon
2021-07-02 07:46:55 -05:00
Hernán Cervera
c639dd15e3 Provide a static method in OpenSeadragon to get an existing viewer
From limited testing, this method allows retrieval even when the viewer
was instantiated in a different file.

OpenSeadragon keeps internal private state in _viewers, following the
convention of the underscore prefix for private members.
2021-06-29 19:14:46 -05:00
Tammy DiPrima
1ca9b16158
correction
difference; not destination
2021-06-22 14:52:06 -04:00
Tammy DiPrima
ef297a2c2c
Reference globalCompositeOperation doc
Fixes openseadragon/openseadragon#1994
2021-06-22 12:32:59 -04:00
Chris Wilkinson
e78e6646e6
Force the display of body to be block when fullscreen 2021-06-18 16:24:38 +01:00
Mark Salsbery
40623f1e99 Re-added the OpenSeadragon.setElementPointerEventsNone() function 2021-05-05 12:43:53 -07:00
Mark Salsbery
72fc528b3c removeContact only on existing tracked pointer 2021-05-04 16:55:37 -07:00
Mark Salsbery
7fbff2cc27 cleanup debug code 2021-05-03 14:02:29 -07:00
Mark Salsbery
4b4da7c4a1 Workaround for WebKit Pointer Event Implicit Capture Bug #1962 2021-05-03 13:43:47 -07:00
Mark Salsbery
00187cb5a1 Fixed legacy mouse and touch event handling 2021-05-03 11:38:20 -07:00