Commit Graph

73 Commits

Author SHA1 Message Date
Tom
40a4e42835 make reference strip always use the canvas drawer 2023-12-21 15:29:25 -05:00
Tom
55882b9215 fix docs. rename matrix.js to matrix3.js 2023-12-19 15:57:15 -05:00
Tom
d5a3cabf13 fixing jsdocs 2023-12-18 17:01:17 -05:00
Tom
3f7e7141b9 fixes from review of drawerbase.js 2023-12-14 19:14:05 -05:00
Tom
37b8ef9519 deprecate useCanvas option; add option for drawer and drawerOptions 2023-06-18 19:08:33 -04:00
Ian Gilman
b9cb52a184 Updated copyright to 2023 2023-05-25 14:52:20 -07:00
Damian Murawski
2484de5010
remove trailing space 2023-01-26 11:44:39 +01:00
Damian Murawski
8550b4fea5
fix problem with click precision on ReferenceStrip
temporary fix for #1992 . Just adding 4px which works in all use cases.
2023-01-25 23:15:12 +01:00
Ian Gilman
f31179c9ce Updated copyright to 2022 2022-06-08 15:02:29 -07:00
Abhishek-90
77c47cdd09 Made changes in ReferenceStrip.js 2021-12-15 11:54:11 +05:30
Mark Salsbery
e8accfdfaf ReferenceStrip: Fixed destroy() exception and made element focusable 2021-03-17 13:04:13 -07:00
Mark Salsbery
23d00c92c1 Added preventDefault option to MouseTracker handlers: scrollHandler, keyDownHandler, keyUpHandler, keyHandler 2021-03-16 19:35:22 -07:00
Mark Salsbery
38a6189c20 code cleanup 2021-03-16 11:37:32 -07:00
Mark Salsbery
3947c81726 Added dragToPan to the GestureSettings class, implemented in Viewer 2021-03-16 10:40:36 -07:00
Mark Salsbery
57a98c5ec2 Fixed preventDefaultAction functionality tests, removed unused preventDefaultAction instances from MouseTracker 2021-03-11 20:30:50 -08:00
Mark Salsbery
e74d83f104 New preProcessEvent event 2020-08-12 21:22:48 -07:00
Mark Salsbery
d2bb480363 Browser sniffing and pointer events fixes and enhancements 2020-07-24 20:05:39 -07:00
Mark Salsbery
c4351f64e8 stricter linting 2020-06-25 16:01:14 -07:00
Greg Garson
8f0e876d4f Pass useCanvas value down to reference strip viewers. 2019-11-20 10:36:54 -08:00
Evan Slawski
d970be5f8e PLATO-130: Pass along ajax headers when loading thumbnails in reference strip 2019-08-21 14:07:25 -04:00
David McAlpine
daa387f4b7 allow reference strip to work in a web component 2019-07-18 21:14:49 -04:00
Stefan Weil
0e2f5d49ef Fix some typos in comments (found by codespell)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-09-01 10:59:20 +02:00
Robert Saric
413e40a64c fix for #1209 (Reference strip using "thumbs") 2017-07-06 21:59:26 +02:00
Robert Saric
85e60b759b fix for #1172 (ReferenceStrip not freeing resources) 2017-04-25 21:07:37 +02:00
Antoine Vandecreme
de25b68b43 Add eslint and hound 2017-01-16 21:41:07 +01:00
rvdb
ef1e5c7d06 removed automatic focus from reference strip, which caused HTML pages to jump unwantedly to the reference strip upon loading 2016-03-04 22:43:20 +01:00
Toni Munder
de29b56c59 Fixes #777: next button click pops up virtual keyboard on mobile devices 2015-11-24 18:23:54 -08:00
Jonas Daniel
f5f6ee5831 Fixed x/y typo in reference strip.
Typo caused horizontal strip to be rendered only relative to height, not to width as it should. On typical landscape sized screens this forced only ~half the reference strip to be (pre-)rendered at any time.
2015-02-09 21:19:30 +01:00
Ian Gilman
735fcc3e37 Merge branch 'master' into collections
fixed Conflicts:
	src/navigator.js
	src/openseadragon.js
2015-01-22 11:15:45 -08:00
Mark Salsbery
545997bace MouseTracker now defaults to tracking on (#558) 2015-01-20 18:35:58 -08:00
Ian Gilman
dc1a7c9cc5 Merge branch 'master' into collections
fixed Conflicts:
	src/viewer.js
2015-01-19 10:35:31 -08:00
Mark Salsbery
2831771af5 MouseTracker - keyboard handling
1) MouseTracker - added keydown and keyup handlers
2) Modifier keys ignored in keyboard  navigation handlers (#503)
3) Arrow key navigation fixed across platforms (#565)
2015-01-16 16:26:30 -08:00
Ian Gilman
0e31b67ca5 ReferenceStrip fixes 2014-11-17 14:03:14 -08:00
Mark Salsbery
e9b7634499 Added $.setElementTouchActionNone function 2014-08-05 16:57:54 -07:00
Mark Salsbery
bf19e73f5e touch-action fixup 2014-08-05 16:01:43 -07:00
Mark Salsbery
e11095968c Mousetracker Over/Out Tracking Fixes 2014-08-04 21:41:07 -07:00
Antoine Vandecreme
f7d65fa4cb Make OpenSeadragon W3C compliant. 2014-04-04 16:14:32 -04:00
Mark Salsbery
930e8c4dfd Updated Doclets 2013-11-25 08:48:44 -08: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
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
Mark Salsbery
dab182757d Renamed EventHandler to EventSource (#225) 2013-09-24 13:36:13 -07:00
Mark Salsbery
af078f8f19 MouseTracker Original Events in Handlers
Renamed insideElementRelease to insideElementReleased.
2013-09-10 17:31:51 -07:00
Mark Salsbery
13415b36f3 MouseTracker Original Events in Handlers
Misc name changes, indentation/whitespace fixes.
Still TODO: Fix documentation, evaluate presence of key handler in a
mouse tracker, evaluate whether isTouchEvent flag should be in all
eventData objects or not.
2013-09-09 14:27:58 -07:00
Mark Salsbery
8229a9aba5 MouseTracker Original Events in Handlers
More formatting fixes
2013-09-06 11:20:14 -07:00
Mark Salsbery
5f6b89b8b5 MouseTracker Original Events in Handlers
More formatting fixes
2013-09-06 11:10:05 -07:00
Mark Salsbery
56f5b9fb74 MouseTracker Original Events in handlers
Comment & Formatting fixes
2013-09-06 10:43:39 -07:00
Mark Salsbery
b3fa8f1184 MouseTracker original events in handlers
Implemented "Expose original event in handlers" (#23) for MouseTracker

Added OpenSeadragon.getElementOffset() method. Element-relative mouse
coordinates should be correct even if the element and/or page is
scrolled (#131)
2013-09-05 17:20:17 -07:00
iangilman
8fe0ce26b8 Merge pull request #136 from acdha/jshint-cleanup
JSHint tidying
2013-06-26 09:37:08 -07:00
Kevin Ewing
2ba3acda38 Removed extra parens 2013-06-20 13:23:16 -07:00