Commit Graph

2580 Commits

Author SHA1 Message Date
Nelson Campos
71fd747051 Adds flip/mirror slides feature.
This commit adds full support for a new OpenSeaDragon(OSD) feature - Mirror/Flip.
In order to fully support this new feature, the following OSD objects had to be modified:
        - drawer.js:
        - navigator
        - openseadragon
        - strings
        - tiledImage
	- viewer

Additionally, a new flip button was created (similar to the existing ones).

Flip Logic
        Whenever the state is flip button is pressed, flip state is toogled, inverting all the controls and displays (the rotation direction is inverted as well).
        This means that all viewer coordinates (including user inputs) must me inverted too.

Summary of modifications
        - drawer.js: modified _offsetForRotation to invert rotation angle on flipped state. Added a _flip method to scale/mirror canvas context.
        - navigator.js: adds full flip support and inverts nagivator inputs.
        - openseadragon.js: new buttons, flip state variable and showFlipControl variable.
        - strings.js: flip tool help tips.
        - tiledImage.js: flips the actual drawing canvas.
	- viewer.js: Added keyboardshortcuts to rotate 90degrees (r/R) and flip image (f/F). flip button state is stored here and flip order is set.

The flipped state is stored on viewer object.
2018-04-04 16:08:13 +01:00
Ian Gilman
02a397638c Fixed test errors 2018-04-02 11:09:23 -07:00
Ian Gilman
7ba516b30a Fixed issue with square tile code on IE 2018-03-27 09:48:18 -07:00
Ian Gilman
e5355abafe Changelog for #1426 2018-03-23 09:22:45 -07:00
Ian Gilman
49fe216447
Merge pull request #1426 from openseadragon/ig-square
Now supporting square edge tiles that are padded rather than cropped
2018-03-23 09:20:15 -07:00
Ian Gilman
075a37ce8c Now supporting square edge tiles with padding 2018-03-21 14:07:00 -07:00
Peter
00f9acf5e4 Merge remote-tracking branch 'refs/remotes/openseadragon/master' 2018-03-20 06:58:12 -04:00
Ian Gilman
dccd038f6c Changelog for #1423 2018-03-19 10:21:19 -07:00
Ian Gilman
053332e282
Merge pull request #1423 from jetic83/master
Added optional zoom in the middle of the image instead of pointer position.
2018-03-19 10:19:27 -07:00
schueffp@mskcc.org
4889d63534 removed trailing spaces error 2018-03-16 11:44:42 +01:00
schueffp@mskcc.org
85d8d9ee32 Added option zoomToRefPoint for all gestureSettings
This is an option for different applications or user preferences:
If zoomToRefPoint in a gesture setting is true (default), the zoom is
centered at the pointer position. Otherwise, the zoom is centered at the
canvas center.
2018-03-16 11:29:16 +01:00
schueffp@mskcc.org
251ab23cc0 Merge remote-tracking branch 'refs/remotes/openseadragon/master' 2018-03-16 08:37:23 +01:00
Francesco Cretti
57654cf1cf raise event for navigator click 2018-03-11 13:24:29 +01:00
Francesco Cretti
12be95c8c3 getCenter fixed when clicking on minimap 2018-03-11 13:05:19 +01:00
Ian Gilman
c915a5966f Changelog for #1414 plus documentation tweak 2018-03-07 09:28:20 -08:00
Ian Gilman
6c7fcb1063
Merge pull request #1414 from francescocretti/hotfix/keyboardPatch
keyboard handlers patch
2018-03-07 09:23:45 -08:00
Francesco Cretti
027dac0d8e navigato minimap onClick vertical/horizontal pan fix 2018-03-07 11:25:33 +01:00
Francesco Cretti
44ca4a79b8 trailing spaces removed 2018-03-07 11:07:29 +01:00
Francesco Cretti
34f691df28 Event name and documentation 2018-03-07 10:32:31 +01:00
Francesco Cretti
2b878cbdbf keyboard handlers patch 2018-03-06 15:51:22 +01:00
Ian Gilman
784f470744 Changelog for #1401 2018-02-26 13:37:08 -08:00
Ian Gilman
23ec3284b9
Merge pull request #1401 from hyperknot/master
Fixed IIIF options.maxLevel calculation
2018-02-26 11:59:18 -08:00
Zsolt Ero
59f15508b9 removed old files from test 2018-02-16 21:17:52 +01:00
Zsolt Ero
d44e907910 added tests for scaleFactors [1] 2018-02-16 21:14:28 +01:00
Zsolt Ero
8e06e5eb39 fixed IIIF options.maxLevel 2018-02-16 21:09:56 +01:00
Ian Gilman
01408a4744
Merge pull request #1374 from nein09/bug-1331
Bug 1331
2018-01-23 09:23:46 -08:00
nein09
3a0e01479f Call equalsWithVariance correctly 2018-01-19 14:39:17 -08:00
nein09
fd81da2f7d Adjust timeout downward 2018-01-19 14:38:56 -08:00
nein09
c53bd18290 Revert timeout changes 2018-01-18 10:45:56 -08:00
nein09
ac013513a2 Comment out failing tests (opened a bug) 2018-01-04 08:35:40 -08:00
nein09
aaec7c9526 Implement code coverage without grunt-qunit-istanbul 2018-01-02 08:32:45 -08:00
nein09
80e8065e2f More work on navigator tests 2018-01-02 08:32:45 -08:00
nein09
b8a28ce838 Navigator tests 2018-01-02 08:32:45 -08:00
nein09
6f789e7e88 Everything but the navigator tests 2018-01-02 08:32:45 -08:00
nein09
b096e369d0 Controls and viewport 2018-01-02 08:32:45 -08:00
nein09
52a275808f Multi-image and overlays tests 2018-01-02 08:32:45 -08:00
nein09
76669f8a65 Update units 2018-01-02 08:32:45 -08:00
nein09
9f39f7bf03 Convert events tests 2018-01-02 08:32:45 -08:00
nein09
b4b1ec8825 Make timeWatcher args make more sense, add utils tests 2018-01-02 08:32:45 -08:00
nein09
73be93b995 Formats tests 2018-01-02 08:32:45 -08:00
nein09
c29715cbe8 Update QUnit syntax in strings tests 2018-01-02 08:32:45 -08:00
nein09
2af7db43a4 Update test helpers, basic tests, and polyfill tests 2018-01-02 08:32:45 -08:00
nein09
bfb00656cc Fix up QUnit syntax for ajax-tiles 2018-01-02 08:32:45 -08:00
nein09
343e990738 Replace grunt-qunit-istanbul with grunt-contrib-qunit 2018-01-02 08:32:45 -08:00
nein09
6dfeddb4b7 Update grunt packages and remove istanbul. 2018-01-02 08:32:45 -08:00
Antoine Vandecreme
517e1feae8 Fix getTileAtPoint epsilon precision
Fix #1362
2017-12-24 10:57:57 +01:00
Ian Gilman
2155a0d157 Changelog for #1364 2017-12-15 10:08:34 -08:00
Ian Gilman
c1edcac2a3
Merge pull request #1364 from j-hudecek/master
Added option pixelsPerArrowPress that sets the speed of arrow keys
2017-12-15 10:06:47 -08:00
Jan Hudecek
5ddcfa438e Added option pixelsPerArrowPress that sets the speed of movement by arrow keys 2017-12-14 17:10:10 +01:00
Ian Gilman
b0f6b5d049 changelog for #1330 2017-10-30 09:22:59 -07:00