Commit Graph

3617 Commits

Author SHA1 Message Date
Mark Salsbery
ca736de339 Removed unnecessary pointer-events:none setting on overlay container DIV 2021-09-23 14:16:39 -07:00
Mark Salsbery
1dd03f6f9d Merge branch 'master' into ms-reference-strip
* master: (22 commits)
  Added "funding" to package.json
  Changelog for #2018
  Navigator is matched to viewer when it succeeds
  Bump path-parse from 1.0.6 to 1.0.7
  Changelog for #2007
  Change the way we access some viewer methods
  Move change image source's methods inside viewer
  Add keys to change image source in sequence mode
  Changelog for #2005
  Flip the order in which view and navigator add a new item
  Changelog for #2000
  Add tests for OpenSeadragon.getViewer
  Cleanup on viewer destroy and register on Viewer()
  Update globals in .eslintrc files
  Provide a static method in OpenSeadragon to get an existing viewer
  Changelog for #1996
  correction
  Reference globalCompositeOperation doc
  Changelog for #1995
  Force the display of body to be block when fullscreen
  ...
2021-09-23 12:41:52 -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
Ian Gilman
2d3c50065d
Merge pull request #1995 from thewilkybarkid/fullscreen-display
Force the display of body to be block when fullscreen
2021-06-21 11:40:41 -07:00
Chris Wilkinson
e78e6646e6
Force the display of body to be block when fullscreen 2021-06-18 16:24:38 +01:00
Mark Salsbery
7d19edff34 Fixed panelWidth/panelHeight calculations (fixes #1992) 2021-06-14 11:42:39 -07:00
Ian Gilman
d04ccddebe
Update FUNDING.yml 2021-05-11 20:58:53 -07:00
Ian Gilman
3265792c3b
Update FUNDING.yml 2021-05-11 20:57:19 -07:00
Mark Salsbery
70c5495fe9 Merge branch 'master' into ms-reference-strip
* master:
  Bump lodash from 4.17.19 to 4.17.21
2021-05-10 17:36:32 -07:00
Ian Gilman
683749f5e6
Merge pull request #1976 from openseadragon/dependabot/npm_and_yarn/lodash-4.17.21
Bump lodash from 4.17.19 to 4.17.21
2021-05-10 11:23:42 -07:00
Mark Salsbery
7161a174c8 Merge branch 'master' into ms-reference-strip
* master:
  Bump grunt from 1.1.0 to 1.3.0
  Bump handlebars from 4.7.6 to 4.7.7
2021-05-07 14:33:36 -07:00
dependabot[bot]
b95da6801a
Bump lodash from 4.17.19 to 4.17.21
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-07 18:29:49 +00:00
Ian Gilman
5e079ee18b
Merge pull request #1975 from openseadragon/dependabot/npm_and_yarn/grunt-1.3.0
Bump grunt from 1.1.0 to 1.3.0
2021-05-07 11:29:02 -07:00
Ian Gilman
2d7b06fd4a
Merge pull request #1973 from openseadragon/dependabot/npm_and_yarn/handlebars-4.7.7
Bump handlebars from 4.7.6 to 4.7.7
2021-05-07 11:21:35 -07:00
dependabot[bot]
39dfbcc735
Bump grunt from 1.1.0 to 1.3.0
Bumps [grunt](https://github.com/gruntjs/grunt) from 1.1.0 to 1.3.0.
- [Release notes](https://github.com/gruntjs/grunt/releases)
- [Changelog](https://github.com/gruntjs/grunt/blob/main/CHANGELOG)
- [Commits](https://github.com/gruntjs/grunt/compare/v1.1.0...v1.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-07 02:32:45 +00:00
Mark Salsbery
f49d1c6eb7 Merge branch 'master' into ms-reference-strip
* master:
  Visual Studio Code tasks.json update to version 2.0.0
2021-05-06 14:38:53 -07:00
Ian Gilman
2b70908dcb
Merge pull request #1974 from openseadragon/ms-vscode-tasks
Visual Studio Code tasks.json update to version 2.0.0
2021-05-06 14:30:03 -07:00
Mark Salsbery
cedf0791e9 Merge branch 'master' into ms-reference-strip
* master:
  Re-added the OpenSeadragon.setElementPointerEventsNone() function
  removeContact only on existing tracked pointer
  cleanup debug code
  Removed test for move-leave (fly-over, no enter event)
  changelog update
  Workaround for WebKit Pointer Event Implicit Capture Bug #1962
  Fixed legacy mouse and touch event handling
2021-05-06 11:58:23 -07:00
Mark Salsbery
b1845f9f6d Visual Studio Code tasks.json update to version 2.0.0 2021-05-06 11:53:48 -07:00
Ian Gilman
f775526d81
Merge pull request #1972 from openseadragon/ms-webkit-bug
Workaround for WebKit Pointer Event Implicit Capture Bug
2021-05-06 11:22:42 -07:00
dependabot[bot]
dde7bbf1c6
Bump handlebars from 4.7.6 to 4.7.7
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.7.6 to 4.7.7.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.7.6...v4.7.7)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-06 18:15:33 +00: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