Commit Graph

2681 Commits

Author SHA1 Message Date
Ian Gilman
e1bb9814a2 Changelog for #1484. 2018-06-29 10:29:08 -07:00
Ian Gilman
7b73768b3b
Merge pull request #1484 from francescocretti/hotfix/minimapDrag
preventDefaultAction in canvas-drag on minimap
2018-06-29 10:26:45 -07:00
Francesco Cretti
9c2211f93c
Merge branch 'master' into hotfix/minimapClick 2018-06-26 14:25:02 +02:00
Francesco Cretti
ed169086e7 Doc minor fix and trailing space removed 2018-06-26 14:07:52 +02:00
Francesco Cretti
0bdc2df8ff Documentations corrected 2018-06-26 13:51:33 +02:00
Peter
7108f40cce Merge branch 'master' of https://github.com/openseadragon/openseadragon 2018-06-21 09:46:46 -04:00
Francesco Cretti
02ddb7a2f7 preventDefaultAction in canvas-drag on minimap 2018-06-20 18:45:38 +02:00
Francesco Cretti
2eb6eaf52f preventDefaultAction support 2018-06-20 18:07:43 +02:00
Ian Gilman
0043956e2a
Merge pull request #1479 from alanaberdeen/master
Documentation addition for viewer.world
2018-06-15 13:26:04 -07:00
Ian Gilman
c5085f92f5 Changelog for #1480 2018-06-15 13:17:35 -07:00
Ian Gilman
beecde11d9
Merge pull request #1480 from mauguedes/customize-navigator-background-and-border-colors
Add CSS configuration options for the navigator minimap
2018-06-15 13:16:16 -07:00
Alan Aberdeen
a691fbb37e Add note that source in viewer.js is depreciated
source is in viewer.js for backwards compatibility. It is not an official part of the API and should not be relied upon.
2018-06-14 21:50:45 +01:00
evilricio
6c2c5ba498 Add CSS configuration options for the navigator minimap
This patch adds CSS configuration options for the navigator minimap, namely:
- background color
- opacity
- outside border color
- display region border color

If unspecified, the previous default values are kept as default as not to break previous implementations.
2018-06-14 17:38:30 +01:00
Alan Aberdeen
2a67484358 Add *correct* documentation for source on Viewer 2018-06-13 20:27:57 +01:00
Alan Aberdeen
0c4eafb669 Revert "Add documentation for source on Viewer"
This reverts commit 99b7c3d2e5.
2018-06-13 20:25:00 +01:00
Alan Aberdeen
99b7c3d2e5 Add documentation for source on Viewer 2018-06-13 20:15:51 +01:00
Alan Aberdeen
002c1fcc65 Add documentation for .source on TiledImage 2018-06-13 20:11:26 +01:00
Alan Aberdeen
1024a2e1d8 Documentation addition for viewer.world 2018-06-13 12:32:10 +01:00
Ian Gilman
cd0a4aee16 Changelog for #1441 2018-06-07 09:50:52 -07:00
Ian Gilman
e01e36794d
Merge pull request #1441 from nelsonn3c/feature/flip
Adds flip/mirror slides feature.
2018-06-07 09:48:59 -07:00
Nelson Campos
0023ae9801 Put flip tests out from the original tests in their own test cases 2018-06-07 11:41:45 +01:00
Peter
532b0b95af Merge branch 'master' of https://github.com/openseadragon/openseadragon 2018-06-06 15:19:12 -04:00
Ian Gilman
8f0711e26e Changelog #1470 2018-06-06 11:51:18 -07:00
Nelson Campos
6a2cd1ff84 Adds some more tests 2018-06-06 17:56:37 +01:00
Nelson Campos
3615ad412f Adds some more tests and tries to solve some code bugs.
A new variance parameter was added to assertPointsEquals function.

Variance value was set on loopingTestHelper function (1e-15).

The following tests were modified to execute tests on flipped viewport:
* 'panBy'
* 'panTo'
* 'zoomBy with ref point'
2018-06-06 17:03:40 +01:00
Ian Gilman
c3b9293036
Merge pull request #1470 from Dvidan/bug/overlap_transparent
Transparent image overlap when using Overlap=0 in dzi
2018-06-04 16:01:57 -07:00
Torbjörn Kvist
bbe34e0816 Remove offset for transparent tile. 2018-06-04 11:16:23 +02:00
Peter
e2d2215374 Merge branch 'master' of https://github.com/openseadragon/openseadragon 2018-06-01 08:51:10 -04:00
Torbjörn Kvist
f509f43472 Change offset of clearRect. 2018-05-18 07:42:24 +02:00
Ian Gilman
541c7c5fe5
Merge pull request #1466 from openseadragon/update
Updated to latest packages (and fixed lint errors)
2018-05-15 10:10:28 -07:00
Ian Gilman
ee1ed31d8c Security audit 2018-05-14 11:59:20 -07:00
Ian Gilman
24be785bbd Updated to latest packages (and fixed lint errors) 2018-05-11 10:53:16 -07:00
Peter
4ca7a94daa Merge branch 'master' of https://github.com/openseadragon/openseadragon 2018-04-29 13:34:49 -04:00
Ian Gilman
ceb828dd06
Merge pull request #1429 from openseadragon/ig-square
Fixed issue with square tile code on IE
2018-04-25 09:35:11 -07:00
Nelson Campos
a31587df2f Adds tests about flip methods 2018-04-17 16:23:21 +01:00
Nelson Campos
43d3949dd1 Refactored 90 degrees rotation button's actions. 2018-04-17 11:19:15 +01:00
Peter
576d0eb317 Merge branch 'master' of https://github.com/openseadragon/openseadragon 2018-04-16 19:10:05 -04:00
Ian Gilman
26ec933d7d Changelog for #1370 2018-04-16 09:47:15 -07:00
Ian Gilman
b63c77fdb9
Merge pull request #1370 from avandecreme/tile_at_point
Fix getTileAtPoint epsilon precision
2018-04-16 09:44:25 -07:00
Nelson Campos
ec0f55098a Simplifies viewport setFlip function. 2018-04-13 17:51:43 +01:00
Nelson Campos
c2fd5322e2 Code cleaning and function calls reorganization 2018-04-12 18:24:11 +01:00
Nelson Campos
b7badc7d32 Documentation comments fix 2018-04-12 10:39:37 +01:00
Nelson Campos
194d1c0606 Documentation comments 2018-04-12 10:36:34 +01:00
Nelson Campos
84dc60632c code simplification and impro^Cments on toggleFlip function 2018-04-11 18:24:01 +01:00
Nelson Campos
b8a4f7e7a0 Reorganizes code to match standard calls of viewport object methods.
A new viewport function was created (toggleFlip()) to change viewport's flip state and demand new viewers drawing.

The onFlip function exists on openseadragon to handle flip control button press and demand viewport toggle flip.
2018-04-11 11:25:46 +01:00
Nelson Campos
6e2c1258df Comments on functions 2018-04-10 12:04:58 +01:00
Nelson Campos
7e5c9e1897 Changes flip store object from viewer to viewport.
More than changing the store object of flip state, the code was simplified and the onFlip function from openseadragon was changed to receive a viewer argument.
TiledImage had a flipped variable wrongly stored.

From now on, flipped state must be read from the viewport object.
2018-04-10 11:51:06 +01:00
Nelson Campos
7c7d714839 Changes back default state values 2018-04-09 15:09:29 +01:00
Nelson Campos
f65dbd3a39 Changes back showFlipControl and showNavigator variables to false default state 2018-04-09 15:06:29 +01:00
Nelson Campos
6e4012976b Adds two helpers for style formating and updates onCanvasKeyPress method.
There were created a new helper method "setDisplayTransform" to change navigator styling.
Also, a new general function "setElementTransform" was created to help on element styling.

For this commit, I also made some changes on viewer onCanvasKeyPress method:
- r is rotating the image clockwise;
- R is rotating the image counter clockwise;
- Freed "F" keycode to other purposes (like filters or others).
2018-04-06 11:52:10 +01:00