Grant Echols
3f095c71cf
Added simulated left/right rotate clicks to the test case.
2014-03-06 10:06:58 -07:00
Grant Echols
9f09951840
Reworded the test messages to 'should be' form as per standard practice.
2014-03-06 08:58:56 -07:00
Grant Echols
95f0591210
Added message to clarify that the event only fires when <canvas> is being used.
2014-03-04 10:38:10 -07:00
Grant Echols
0bfb834393
Fixed message context to be more correct. I believe the message is only displayed when a failure occurs, so it needs to be clear what was being tested.
2014-03-04 10:28:19 -07:00
Grant Echols
27424348f3
Added test case for tile-drawing event.
2014-03-03 16:19:40 -07:00
Grant Echols
e368bd50aa
Added tests for rotate control on/off setting.
2014-03-03 14:45:30 -07:00
Grant Echols
5e0e8005d6
Tuned the configuration around the rotate left/right to work when the drawer is instantiated.
2014-03-03 11:14:09 -07:00
Grant Echols
60da75aede
Added configuration around the rotate left/right buttons. The default for showRotationControls is false to preserve existing functionality. Also added default tooltip strings for the buttons.
...
This version runts the tests fine locally using 'npm test'. It looks like the remote build was having a timeout issue which I couldn't reproduce.
2014-03-03 09:28:28 -07:00
Antoine Vandecreme
0f43cd5a16
Add deprecated drawers methods.
2014-03-01 08:32:38 -05:00
Grant Echols
be79249c9c
Added pre-draw event for tiles to allow applications to alter the image just prior to its rendering. This should enable invert, brightness, contrast, sharpen and other transformations to occur naturally through the 'tile-drawing' event listener.
...
The listener is given the 'rendered' object which is the pre-drawn image on a canvas context object. By altering the 'rendered' object the listener can alter the display results. Since this event gets fired multiple times for the tile, it is wise for the handler to track what their desired modifications are and to tag the 'tile' element to keep track of the modifications already applied.
2014-02-27 15:35:00 -07:00
Grant Echols
e8697e5c19
Updated images for rotate left/right to better match existing buttons.
2014-02-20 15:03:13 -07:00
Grant Echols
576df57cdc
Fixed code style issue.
2014-02-20 14:04:26 -07:00
Grant Echols
2fd1a849d1
Added rotate right/left buttons to default tools
2014-02-20 13:57:39 -07:00
Ian Gilman
e73e5a9528
Changelog for #336
2014-02-17 09:40:38 -08:00
iangilman
2ca3e52109
Merge pull request #336 from avandecreme/minorbugs
...
Pass degrees from the viewer to the viewport. Fix #305
2014-02-17 09:39:24 -08:00
Antoine Vandecreme
95c7668f68
Pass degrees from the viewer to the viewport. Fix #305
2014-02-05 15:52:31 -05:00
Antoine Vandecreme
aaad805727
Add test for fixed overlay + update doc
2014-02-05 14:57:47 -05:00
Antoine Vandecreme
db98e4c34e
Add overlays unit tests
2014-02-04 17:09:12 -05:00
Antoine Vandecreme
ed5eae9a73
Fix imageToViewerElementCoordinates method and corresponding unit tests.
2014-02-04 17:02:11 -05:00
Antoine Vandecreme
e26727488f
Fix doc in point.js
2014-02-04 16:59:45 -05:00
Antoine Vandecreme
c4428db8a5
Fix crash when closing the viewer when no overlay has been added.
2014-01-31 11:49:44 -05:00
Antoine Vandecreme
695df873ca
Update the source when the base layer change.
2014-01-30 16:59:51 -05:00
Antoine Vandecreme
d43b6d86b5
Add layersAspectRatioEpsilon check
2014-01-30 16:43:35 -05:00
Antoine Vandecreme
365dad9317
Move all overlay code from drawer to viewer
2014-01-30 15:38:37 -05:00
Antoine Vandecreme
7210181b4f
Remove not working code
2014-01-29 16:31:13 -05:00
Antoine Vandecreme
53ec6889e0
Support removal of base layer.
2014-01-22 11:33:59 -05:00
Antoine Vandecreme
1c1cd0dc4d
Allow base layer reassignment if not in sequence mode.
2014-01-21 19:24:47 -05:00
iangilman
9ecb69e1d8
Merge pull request #310 from msalsbery/Navigator-Resize
...
Enhanced Navigator Resizability (#280 , #296 )
2014-01-21 09:04:20 -08:00
Mark Salsbery
6774fca39e
Navigator Tests Update
...
Added tests for resizable navigators.
Fixed typo.
2014-01-21 08:44:04 -08:00
Mark Salsbery
601f533fcf
Navigator update with tests update
...
Navigator hosted in viewer with navigatorMaintainSizeRatio==false (the
default) now maintains its area and aspect ratio.
Tests added for most (all?) navigator configurations.
2014-01-18 18:19:22 -08:00
Mark Salsbery
5c94df34a1
Navigator Tests Update
...
Removed leftover comments
2014-01-16 12:13:48 -08:00
Mark Salsbery
d874bb63ac
Navigator Tests Update
...
Tests added for all navigator placements.
Work in progress: Adding tests for viewer resizing.
2014-01-16 12:11:35 -08:00
Mark Salsbery
7ce552caf9
Navigator update
...
Allow navigators hosted in a user-supplied element to be styled by user.
2014-01-13 14:51:22 -08:00
Antoine Vandecreme
facccf7b45
Throw an error when trying to add a layer in collection mode.
2014-01-11 19:25:27 -05:00
Antoine Vandecreme
cd62ba7eca
Prevent adding collections as layers.
2014-01-11 19:15:28 -05:00
Antoine Vandecreme
f0f76b847e
Add viewer.getLayerAtLevel method and rename getLayerLevel to getLevelOfLayer.
...
Add layers unit test.
2014-01-11 18:08:04 -05:00
Antoine Vandecreme
56707bd4f7
Add viewer.getNumberOfLayers method
...
layers.html test file:
-display 2 layers after opening
-fix order
-add opacity demo
-add rotation demo
2014-01-11 12:52:44 -05:00
Mark Salsbery
23954d0adf
Merge remote-tracking branch 'origin/master' into Navigator-Resize
...
Conflicts:
changelog.txt
2014-01-08 14:03:47 -08:00
Ian Gilman
92d22b7199
Changelog for #315
2014-01-08 13:23:32 -08:00
iangilman
850e72644b
Merge pull request #315 from IIIF/support_iiif_level1
...
Support iiif level1
2014-01-08 13:21:27 -08:00
Jon Stroop
ddde07b614
style changes, per @iangilman on openseadragon/openseadragon#315
2014-01-07 14:59:44 -05:00
Antoine Vandecreme
63af1e7517
Uncomment version
2014-01-05 19:30:52 -05:00
Antoine Vandecreme
b542b90590
Fix $.indexOf pollyfill
...
Add the original options in addLayer events
Add layers demo page
2014-01-05 19:20:45 -05:00
Jon Stroop
24298dcbba
Only require IIIF level 1; Vary tile size based on src image when no tiles are reported. Toward openseadragon/openseadragon#313
2014-01-02 19:59:10 -05:00
Jon Stroop
e9c2b502c1
support iiif level 1
2013-12-18 17:34:39 -05:00
Mark Salsbery
cae29bb144
Merge remote-tracking branch 'origin/master' into Navigator-Resize
2013-12-16 12:53:34 -08:00
iangilman
efaced5446
Merge pull request #311 from wilkinson/master
...
Simple spelling corrections in comments
2013-12-16 09:39:23 -08:00
Mark Salsbery
1cac9fa533
Navigator cursor fix
2013-12-16 07:17:35 -08:00
Mark Salsbery
1e9ea154f2
Added navigatorAutoResize option
...
Improved resizable navigator support.
2013-12-14 14:45:11 -08:00
Mark Salsbery
a189ba97d7
Update navigator on full-page/full-screen bug fix
2013-12-14 09:11:14 -08:00