Commit Graph

3080 Commits

Author SHA1 Message Date
Ian Gilman
b3196a9756
Merge pull request #2064 from openseadragon/ig-drag
No longer firing canvas-drag-end if there is no canvas-drag preceding
2021-11-22 11:35:01 -08: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
Ian Gilman
f15d5a2bff Changelog for #2059 2021-11-17 15:10:23 -08:00
Ian Gilman
1454ac791a
Merge pull request #2059 from kim-sanghoon/fix/getLevelScale
Fix getLevelScale to use image dimensions
2021-11-17 15:05:34 -08:00
Sanghoon Kim
63a4f87716 Fix getLevelScale to use image dimensions 2021-11-09 21:56:01 +09:00
Ian Gilman
fcca75c57e Changelog for #2049 2021-11-05 11:52:48 -07:00
Ian Gilman
f0d5d4bedd
Merge pull request #2049 from superbland/get_relative_image_size
Add method for getting the relative size of an image
2021-11-05 11:50:50 -07:00
superbland
446382f5a1 Use correct method for imageToWindowCoordinates 2021-11-04 19:43:59 +00:00
superbland
57e97019d9 Update tests 2021-11-04 19:35:57 +00:00
superbland
92bcfa5416 Rename method, update logic 2021-11-04 19:35:46 +00:00
superbland
45bdd87224 Tests for getRelativeSize 2021-10-09 16:30:13 +01:00
superbland
11ef3fcfbb Add utility method for getting relative size 2021-10-09 16:25:53 +01:00
Ian Gilman
d1a5e926c6
Merge pull request #2043 from openseadragon/ms-passivewheel
Explicitly set passive:false for wheel event handlers to supress console warnings
2021-09-27 11:38:54 -07:00
Ian Gilman
267c8c65cd Merge branch 'master' into ms-passivewheel 2021-09-27 11:38:31 -07:00
Ian Gilman
ea7057b601 Removed changelog for #2042 and added one for #2037 2021-09-27 11:34:15 -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
Ian Gilman
8e20ac8fb9
Merge pull request #2037 from openseadragon/ig-event
Attempting to get the original target for click events
2021-09-27 11:26:48 -07:00
Mark Salsbery
2353f96d2c changelog update 2021-09-24 16:23:19 -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
8c16ba50b5 changelog update 2021-09-23 14:19:29 -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
f097808c95 Added "funding" to package.json 2021-09-20 11:58:45 -07:00
Ian Gilman
533a8ba532 Attempting to get the original target for click events 2021-09-20 11:41:23 -07:00
Ian Gilman
2398369883 Changelog for #2018 2021-08-12 11:21:58 -07:00
Ian Gilman
3c3b5e8150
Merge pull request #2018 from crydell/updated-match
Navigator is matched to viewer when it succeeds
2021-08-12 11:18:02 -07:00
Ian Gilman
2198dea47d
Merge pull request #2017 from openseadragon/dependabot/npm_and_yarn/path-parse-1.0.7
Bump path-parse from 1.0.6 to 1.0.7
2021-08-11 11:35:29 -07:00
crydell
9724174a5b
Navigator is matched to viewer when it succeeds 2021-08-11 12:59:14 +02:00
dependabot[bot]
db64c20837
Bump path-parse from 1.0.6 to 1.0.7
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-10 17:47:56 +00:00
Ian Gilman
6cb2c9e7bc Changelog for #2007 2021-07-13 11:16:35 -07:00
Ian Gilman
fc7a4b93f4
Merge pull request #2007 from RammasEchor/master
Add keys to change image source in sequence mode
2021-07-13 11:11:17 -07: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
Ian Gilman
eff2ef6f1b Changelog for #2005 2021-07-08 11:11:58 -07:00
Ian Gilman
4ce125993a
Merge pull request #2005 from RammasEchor/master
Flip the order in which view and navigator add a new item
2021-07-08 11:06:48 -07: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
Ian Gilman
577622a210 Changelog for #2000 2021-07-05 11:48:04 -07:00
Ian Gilman
97b08645f6
Merge pull request #2000 from HerCerM/get-viewer-attached-to-an-element
Provide a static method in OpenSeadragon to get an existing viewer
2021-07-05 11:45:55 -07:00
Hernán Cervera
b0fb8e836d Add tests for OpenSeadragon.getViewer 2021-07-02 12:25:02 -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
94f269d6d0 Update globals in .eslintrc files
1. Add Map as a global
2. Use readonly/writable over false/true

Change 2 was done to use non-deprecated values (last paragraph of the section):
https://eslint.org/docs/user-guide/configuring/language-options#using-configuration-files-1
2021-07-02 07:33: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
Ian Gilman
fd85d5e22f Changelog for #1996 2021-06-23 11:54:13 -07:00
Ian Gilman
f6d3676ed6
Merge pull request #1996 from tdiprima/patch-1
Reference globalCompositeOperation doc
2021-06-23 11:51:05 -07: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
Ian Gilman
cac0e5c9bd Changelog for #1995 2021-06-21 11:44:01 -07:00