iangilman
cb1fd65378
Merge pull request #268 from msalsbery/canvas-detect
...
Use canvas whenever possible (#191 )
2013-11-08 09:56:40 -08:00
Mark Salsbery
626f27771f
MouseTracker preventDefaultAction Unit Tests
2013-11-08 08:24:44 -08:00
Mark Salsbery
5c4131303a
Use canvas when available - Fixes
...
Removed redundant useCanvas property from drawer
2013-11-07 11:48:01 -08:00
Mark Salsbery
8e325a3748
Added preventDefaultAction flag to MouseTracker
...
Added a boolean preventDefaultAction property (default false) to the
event object passed to MouseTracker handler methods. Implemented in the
following MouseTracker subscribers:
* Viewer.keyboardCommandArea.innerTracker.focusHandler:
preventDefaultAction == true prevents scrolling viewer into view
* Viewer.keyboardCommandArea.innerTracker.keyHandler:
preventDefaultAction == true prevents viewer keyboard navigation
* Viewer.innerTracker.clickHandler: preventDefaultAction == true
prevents viewer zoom on click
* Viewer.innerTracker.dragHandler: preventDefaultAction == true prevents
viewer panning with mouse/touch
* Viewer.innerTracker.scrollHandler: preventDefaultAction == true
prevents viewer zooming on mousewheel/pinch
2013-11-04 12:41:45 -08:00
Antoine Vandecreme
d70845d7eb
Separate fullscreen and fullpage methods ( #91 )
...
Fix scroll issue.
Handle fullscreen denial by the browser
2013-11-02 21:01:04 -04:00
Antoine Vandecreme
d853224c15
Add units tests for scroll
2013-11-01 17:37:19 -04:00
Mark Salsbery
085c7f2ecb
Use canvas when available - Fixes
...
Updated documentation doclet.
Enclosed detection code in a function.
Eliminated the Drawer USE_CANVAS global and replaced it with a
Drawer.useCanvas instance variable.
2013-11-01 13:02:28 -07:00
Mark Salsbery
85fcf0ec11
Merge remote-tracking branch 'origin/master' into canvas-detect
...
Conflicts:
src/openseadragon.js
2013-11-01 12:22:48 -07:00
Ian Gilman
dbb7cee76a
Changelog for #262
2013-11-01 11:18:35 -07:00
iangilman
047129e817
Merge pull request #262 from avandecreme/mousestop
...
Add mouse stop event
2013-11-01 11:14:57 -07:00
iangilman
55b3cfe9d0
Merge pull request #263 from msalsbery/wheel-event
...
Added 'wheel' Event Support (#261 )
2013-11-01 11:12:09 -07:00
Mark Salsbery
5d034b9ad2
changelog.txt update
2013-11-01 10:33:17 -07:00
Mark Salsbery
e209846ac1
Use canvas whenever possible ( #191 )
...
Drawer uses an HTML5 canvas element if it's available.
Viewer.useCanvas can be used to override (default is true).
2013-11-01 10:19:47 -07:00
Antoine Vandecreme
7375ba9241
Fix scrolling when exiting full-screen mode.
...
Rename fullpage event to full-page and it's fullpage property to fullPage.
Add pre-full-page event.
2013-10-31 22:19:22 -04:00
Antoine Vandecreme
3f5db8f8de
Fix mousestop event on IE
2013-10-31 16:16:08 -04:00
Mark Salsbery
bbedbd29cb
Merged changes from master
2013-10-31 11:27:13 -07:00
Ian Gilman
667204096a
Changelog for #264 .
2013-10-31 10:17:08 -07:00
iangilman
46de3afe6d
Merge pull request #264 from msalsbery/Tile-Render-Bug
...
Fix for non-canvas tile rendering at large size
2013-10-31 10:15:34 -07:00
Antoine Vandecreme
542d5f5aeb
Remove cancelEvent + fix typos
2013-10-30 21:28:10 -04:00
Mark Salsbery
9e5dcd766f
Punctuation fix
2013-10-30 13:35:39 -07:00
Mark Salsbery
cfd76a6fd9
Whitespace fix
2013-10-28 12:38:17 -07:00
Mark Salsbery
d6b187eb06
Fix for non-canvas tile rendering at large size
...
In USE_CANVAS==false mode, wrapped tile img elements in div elements to
allow them to be rendered larger than their containing element without
being stretched.
2013-10-28 12:36:29 -07:00
Mark Salsbery
0f8ac4cfab
Added 'MozMousePixelScroll' event handling
...
For older Firefox versions
2013-10-24 13:39:00 -07:00
Mark Salsbery
755c4752c0
'wheel' Event Support Fixes
...
Whitespace, cancel handling
2013-10-23 13:55:52 -07:00
Mark Salsbery
e76c9e65ab
Added 'wheel' Event Support
...
Also improved OpenSeadragon.addEvent()/OpenSeadragon.removeEvent()
2013-10-23 12:58:36 -07:00
Antoine Vandecreme
d4a4276bbc
Fix margin bug with legacy fullscreen mode
2013-10-23 10:00:08 -04:00
Antoine Vandecreme
8debb26d61
Add mouse stop event
2013-10-22 16:54:04 -04:00
Ian Gilman
574aa0f4f1
Fixed indentation for breaking change lists
2013-10-22 10:46:15 -07:00
Ian Gilman
7e0c90c4a4
Changelog for #218
2013-10-22 10:45:54 -07:00
iangilman
c9f60fd468
Merge pull request #218 from gwills/master
...
IE 10 not reading DZI file correctly
2013-10-22 10:35:05 -07:00
iangilman
5d45054fee
Merge pull request #257 from msalsbery/EventSource-Original-Events
...
originalEvent Pass through to EventSource events (#227 )
2013-10-22 10:31:18 -07:00
gwills
3777b53507
Revert "Fix rotate on rectangular overalys"
...
This reverts commit a70d082be3
.
2013-10-22 13:54:32 +01:00
Mark Salsbery
4fc9755906
changelog.txt update
...
Grammar fix!
2013-10-21 17:16:25 -07:00
iangilman
1c5a9208b5
Merge pull request #260 from avandecreme/zoomratio
...
Replace viewport.getImageZoomRatio by conversion methods between viewport zoom and image zoom
2013-10-21 14:57:03 -07:00
Antoine Vandecreme
54d02ada78
Replace viewport.getImageZoomRatio by conversion methods between viewport zoom and image zoom
2013-10-18 15:16:49 -04:00
Mark Salsbery
a9d6a82c67
Unit test update for EventSource originalEvent
2013-10-15 11:27:21 -07:00
Mark Salsbery
984dd267b6
originalEvent Pass through to EventSource events
2013-10-15 11:11:08 -07:00
Antoine Vandecreme
f712e15793
Recenter the image after switching fullscreen mode. #62 and #170
2013-10-14 18:01:58 -04:00
Ian Gilman
e06a5c73c7
Changelog for #255
2013-10-14 10:45:00 -07:00
iangilman
6655523db4
Merge pull request #255 from avandecreme/master
...
Check hash in viewer constructor.
2013-10-14 10:40:06 -07:00
gwills
a70d082be3
Fix rotate on rectangular overalys
...
Use size after rotate when positioning the overlay.
Also removed check on this.scales - was there a reason these were not
handled when rotating? If so we can add a option here maybe.
2013-10-14 10:59:20 +01:00
Antoine Vandecreme
4cd98a5da9
Check hash in viewer constructor.
...
Fix #229
Fix #176
2013-10-12 18:30:05 -04:00
iangilman
e006d0e05a
Merge pull request #254 from msalsbery/Event-Handler-Signatures
...
Event Handler Signatures Changed to 'fn(event)' (#251 )
2013-10-11 10:57:20 -07:00
Mark Salsbery
f9fb80b4d2
referencestrip.js spacing fix
2013-10-11 10:50:50 -07:00
Mark Salsbery
f5750bb9f6
referencestrip.js event handler cleanup
2013-10-11 10:44:03 -07:00
Ian Gilman
0dd3d41340
Changelog for #252
2013-10-11 10:01:58 -07:00
iangilman
e89562c03a
Merge pull request #252 from Sharpbarb/master
...
Add the ability to create a viewer and start at a specified page
2013-10-11 09:57:28 -07:00
Mark Salsbery
d574700b3d
Event Handler Signatures Changed to 'fn(event)'
...
All event handler signatures changed to 'fn(event)'
eventSource property added to the event object passed
Redundant event source properties removed ('button' and 'viewer'
Documentation updated in MouseTracker
changelog.txt updated
2013-10-10 17:00:15 -07:00
Sharpbarb
3078642927
Update viewer.js
...
Moved call to _updateSequenceButtons inside if ( initialTileSource )
2013-10-10 12:57:02 -07:00
Sharpbarb
4535f47e8d
Update viewer.js
...
trailing whitespace...
2013-10-10 12:35:49 -07:00