Commit Graph

1719 Commits

Author SHA1 Message Date
Ian Gilman
71a1f06e35
Merge pull request #2160 from joedf/patch-2
apply only zoom constraint by default for scroll events
2022-06-09 15:41:17 -07:00
Ian Gilman
e8adefbe6e Minor fix to previous PR 2022-06-08 15:06:58 -07:00
Ian Gilman
f31179c9ce Updated copyright to 2022 2022-06-08 15:02:29 -07:00
Ian Gilman
2afc028ab2 JSDoc fixes 2022-06-07 13:56:58 -07:00
Joe DF
5b7be6be05 implement fixes from iangilman 2022-05-19 16:52:56 -04:00
pearcetm
af26fdbff1
Bugfix for imagetilesource _freeupCanvasMemory 2022-05-18 12:26:19 -04:00
Joe DF
325f65fe5c attempt no.2 to fix #2160 2022-05-18 11:16:28 -04:00
Joe DF
7d6437b2cd Revert "apply only zoom constraint by default for scroll events"
This reverts commit a6d1472134.
2022-05-18 10:48:58 -04:00
Joe DF
a6d1472134 apply only zoom constraint by default for scroll events 2022-05-12 15:31:51 -04:00
Christophe Avenel
f1865c3878
Fix wrong center point on touch zoom
When doing pinch to zoom, we need to do pan first and then zoom, so that the center point is correct.
Otherwise, the pan will computed on the unzoomed coordinates, giving an impression of zooming toward the center
2022-05-12 10:45:47 +02:00
Ian Gilman
bfc4bc553a
Merge pull request #2155 from samwilson/typos
Fix duplicated word: "the the"
2022-05-10 13:51:05 -07:00
Ian Gilman
ad7f3449bb
Merge pull request #2153 from devbyjonah/deprecated_Alias
added warning for deprecated method buttons()
2022-05-05 14:02:06 -07:00
Sam Wilson
1700e2f060 Fix duplicated word: "the the"
From https://gerrit.wikimedia.org/r/c/mediawiki/extensions/ProofreadPage/+/789330
2022-05-05 20:43:38 +08:00
Ian Gilman
c0674b2924
Merge pull request #2152 from joedf/patch-1
fix typos for dragToPan in OpenSeadragon.Options
2022-05-03 14:40:48 -07:00
devbyjonah
5ed4d5f630 added warning for deprecated method buttons() 2022-05-02 19:14:39 -07:00
Ian Gilman
3aca527360
Merge pull request #2145 from tdiprima/patch-1
updated conditional expression
2022-05-02 14:33:57 -07:00
Joe DF
eaa1a93755
fix typos for dragToPan in OpenSeadragon.Options
I noticed "`gestureSettings`[Mouse]" was 3 more times, where I believe they should be `Touch`, `Pen`, and `Unknown`?
2022-04-29 14:05:24 -04:00
Jirka
b2eda881e8 Another problem with release handler: a point instace could be undefined. 2022-04-16 16:53:30 +02:00
Ian Gilman
334e8fbc67
Merge pull request #2142 from Aiosa/master
Delegate error printing to the ajax caller.
2022-04-15 14:12:39 -07:00
Jirka
ec430779f4 Move open-failed error message to the handler, adjust test for the new message style. Add 'numberOfHandlers()' method for events. 2022-04-15 10:32:08 +02:00
Ian Gilman
d8a8eff21a
Merge pull request #2138 from Aiosa/cache-key
Change Tile.cacheKey strategy
2022-04-14 15:00:35 -07:00
Tammy DiPrima
e1b651b66c
update expression
Code fails if element.style is undefined.
2022-04-13 13:33:44 -04:00
Jirka
3a84b9369b Clarify documentation on cache-key creation. 2022-04-13 10:47:48 +02:00
Sebastien ROBERT
99f73c548c Changed full page sizing to 100vw/100vh instead of compute fixed size (issue 2099) 2022-04-08 08:23:25 +09:00
Jirka
1ec4d71db0 makeAjaxRequest(): delegate error message responsibility to the handler if any. 2022-04-07 17:56:14 +02:00
Jirka
a2b915cc6d Merge remote-tracking branch 'origin/cache-key' into cache-key 2022-04-07 14:53:20 +02:00
Jirka
ee2404afe3 Update Tile.prototype.getTileHashKey() documentation. Provide deprecation warning for cacheKey property - now it must be passed through Tile constructor. 2022-04-07 14:48:26 +02:00
Aiosa
29d16bd535
Merge branch 'openseadragon:master' into cache-key 2022-04-02 15:23:37 +02:00
Jirka
38e91f1fa5 Change coverage methods on TiledImage to be member methods. 2022-03-30 13:27:23 +02:00
Jirka
2750100d24 Move cache-key generation to TileSource: user might need to override default behaviour in case of non-unique URL's (post data used). 2022-03-29 09:30:25 +02:00
Jirka
7f784835a7 Revert 'spacing change' for licence disclaimer (TiledImage), fix tests on drag-end event no longer firing when mouse does not move (PR #2064) 2022-03-25 12:30:18 +01:00
Jirka
20594e5a51 Stupid typo, added 'static' methods to a wrong class... 2022-03-23 14:25:36 +01:00
Jirka
aa0119be45 Rewrite TiledImage closure functions to be private class members. Fix tests that expect error message to appear in 'log' instead of 'error'. 2022-03-23 14:05:58 +01:00
Jirka
68126a82dc Update docs on POST data to reflect more accurately the behaviour.
Fix bug & implement propositions ~ issue #2094.
2022-03-23 10:22:13 +01:00
Ian Gilman
7e64d28197
Merge pull request #2121 from ronnymikalsen/fix/2117-contacts-points-in-mousetracker
fix: contacts points on touch devices
2022-03-15 14:49:51 -07:00
Ronny Mikalsen
576a0f9c33 fix: setting contacts to 0 if below 0 2022-03-14 14:26:11 +01:00
Ian Gilman
d175de1496
Merge pull request #2120 from claycoleman/allow-silencing-multi-image-warnings
Allow silencing multi-image warnings
2022-03-04 14:13:51 -08:00
Ronny Mikalsen
0f984bd3b3 refactor: removed unnecessary code 2022-03-02 10:10:30 +01:00
Ian Gilman
3e5e12722a
Merge pull request #2116 from rvv-bouvet/fix/draw-tiles-without-canvas
fix: avoid crash when setting useCanvas to false
2022-03-01 14:03:49 -08:00
Clay Coleman
322a22cb68 Allow silencing multi-image warnings 2022-02-25 12:11:06 -06:00
Ronny Mikalsen
47cc04ff53 fix: contacts points on touch devices
Swiping fast multiple times makes contacts points in mousetracker to be out of sync for touch event

Fixes #2117
2022-02-22 14:24:10 +01:00
Ronny Valentin Vindenes
34fd856b4f fix: avoid crash when setting useCanvas to false 2022-02-22 12:31:32 +01:00
Shyamkumar Yadav
7532075aab
Doc: small documentation fix openseadragon#2111
line change from click to double-click
2022-02-18 09:49:24 +05:30
Shyamkumar Yadav
84257e3202 Doc: small documentation fix #2111 2022-02-12 23:34:40 +05:30
Ian Gilman
51e3ea7fa0 Changelog for #2072 and minor comment style change 2022-01-21 11:57:14 -08:00
Jirka
63ecaafa51 Update documentation to be more explicit about post data string parameter format. 2022-01-20 18:03:08 +01:00
Jirka
bd6ec09458 Remove warning because loadTilesWithAjax flag is not passed to the TileSource 2022-01-13 10:05:37 +01:00
Jirka
e236ff0ea8 Forgot one 'allowPost' rename 2022-01-12 22:37:59 +01:00
Jirka
aacae1ca3f Reverted .json configuration changes made by npm. Added tests for PUSH functionality, new flag 'allowPost' to explicitly enable POST data, remove (-1) in the URL splitting. 2022-01-12 22:31:13 +01:00
Aiosa
745a788d84
Merge branch 'openseadragon:master' into master 2022-01-06 10:56:43 +01:00