Commit Graph

177 Commits

Author SHA1 Message Date
Ian Gilman
b9cb52a184 Updated copyright to 2023 2023-05-25 14:52:20 -07:00
Ian Gilman
f31179c9ce Updated copyright to 2022 2022-06-08 15:02:29 -07:00
Jirka
b2eda881e8 Another problem with release handler: a point instace could be undefined. 2022-04-16 16:53:30 +02:00
Jirka
68126a82dc Update docs on POST data to reflect more accurately the behaviour.
Fix bug & implement propositions ~ issue #2094.
2022-03-23 10:22:13 +01:00
Ronny Mikalsen
576a0f9c33 fix: setting contacts to 0 if below 0 2022-03-14 14:26:11 +01:00
Ronny Mikalsen
0f984bd3b3 refactor: removed unnecessary code 2022-03-02 10:10:30 +01:00
Ronny Mikalsen
47cc04ff53 fix: contacts points on touch devices
Swiping fast multiple times makes contacts points in mousetracker to be out of sync for touch event

Fixes #2117
2022-02-22 14:24:10 +01:00
Shyamkumar Yadav
7532075aab
Doc: small documentation fix openseadragon#2111
line change from click to double-click
2022-02-18 09:49:24 +05:30
Shyamkumar Yadav
84257e3202 Doc: small documentation fix #2111 2022-02-12 23:34:40 +05:30
Ian Gilman
c4904fb460 No longer firing canvas-drag-end if there is no canvas-drag preceding 2021-11-18 13:45:50 -08:00
Ian Gilman
267c8c65cd Merge branch 'master' into ms-passivewheel 2021-09-27 11:38:31 -07:00
Mark Salsbery
9c2f46cb19 Explicitly set passive:false for wheel event handlers to supress console warnings 2021-09-24 16:20:04 -07:00
Ian Gilman
ecfe380b17 Fixed spelling of isStoppable 2021-09-22 11:41:17 -07:00
Ian Gilman
6761bd9375 Added documentation for originalTarget 2021-09-22 11:37:55 -07:00
Ian Gilman
533a8ba532 Attempting to get the original target for click events 2021-09-20 11:41:23 -07:00
Mark Salsbery
72fc528b3c removeContact only on existing tracked pointer 2021-05-04 16:55:37 -07:00
Mark Salsbery
7fbff2cc27 cleanup debug code 2021-05-03 14:02:29 -07:00
Mark Salsbery
4b4da7c4a1 Workaround for WebKit Pointer Event Implicit Capture Bug #1962 2021-05-03 13:43:47 -07:00
Mark Salsbery
00187cb5a1 Fixed legacy mouse and touch event handling 2021-05-03 11:38:20 -07:00
Mark Salsbery
870d9df779 Code cleanup, better scrollHandler handling in Viewer 2021-03-16 19:47:08 -07:00
Mark Salsbery
23d00c92c1 Added preventDefault option to MouseTracker handlers: scrollHandler, keyDownHandler, keyUpHandler, keyHandler 2021-03-16 19:35:22 -07:00
Ian Gilman
84b0aea54b Merge branch 'master' into ms-preventDefaultAction 2021-03-12 11:44:10 -08:00
Mark Salsbery
0195c5a5ec preventDefaultAction - removed from MouseTracker, implemented for canvas-pinch and canvas-scroll events 2021-03-11 16:09:57 -08:00
Mark Salsbery
83788cbb75 key down/up event disposition defaults 2021-03-11 16:07:24 -08:00
Mark Salsbery
3b2d5e640c removed some redundant code 2021-03-10 16:10:28 -08:00
Mark Salsbery
d7d7fda4af Fixed bug preventing keypress events from firing on MouseTrackers with onKeyDown handlers 2021-03-10 15:58:27 -08:00
Mark Salsbery
2bbfa97063 MouseTracker preProcessEvent on key, focus, blur events 2021-03-10 14:53:33 -08:00
Mark Salsbery
c38188927e Added preventDefault option to MouseTracker.contextMenuHandler and Viewer 'canvas-contextmenu' event args 2021-03-10 13:45:15 -08:00
Mark Salsbery
ac97d5ff3c MouseTracker minor code formatting fixes 2021-03-07 14:24:32 -08:00
Mark Salsbery
a94841cf97 MouseTracker documentation update 2021-03-05 18:50:40 -08:00
Mark Salsbery
631881cb8a Mousetracker documentation update 2021-03-05 18:39:31 -08:00
Mark Salsbery
6b7fcbdc07 MouseTracker isEmulated documentation update 2021-03-05 18:06:26 -08:00
Mark Salsbery
5674cf47ad Per #1863, dropped support for Internet Explorer < 11 2021-03-04 15:48:13 -08:00
Mark Salsbery
6a1a6275ed MouseTracker: Allow pre-processing of click and dblclick events 2021-03-02 10:29:44 -08:00
Mark Salsbery
72fe7a9025 Show deprecation warning in console for MouseTracker.exitHandler 2021-02-10 08:32:00 -08:00
Mark Salsbery
4b40400cd3 MouseTracker contextmenu enabled by default 2021-02-10 07:29:36 -08:00
Mark Salsbery
73dc6895f1 Removed commented legacy fix code (#1872) 2021-02-09 16:28:42 -08:00
Mark Salsbery
c969f85239 contextmenu 2020-08-25 11:46:35 -07:00
Mark Salsbery
35b1dcf362 Better setPointerCapture/releasePointerCapture exception handling 2020-08-25 09:11:00 -07:00
Mark Salsbery
5360e65ee9 setPointerCapture/releasePointerCapture exception handling 2020-08-25 08:51:00 -07:00
Mark Salsbery
c22e624a3d isPrimary handling 2020-08-20 16:56:57 -07:00
Mark Salsbery
e7bc65c0af Remove stopImmediatePropagation stub for implementation in future release 2020-08-18 20:03:38 -07:00
Mark Salsbery
6b500f1ff2 docs update 2020-08-13 17:21:32 -07:00
Mark Salsbery
8fc83c696a Improved releasing of tracked pointers on destroy()/stopTracking() (#1346) 2020-08-13 16:43:49 -07:00
Mark Salsbery
5a9874e4fa changelog update 2020-08-13 10:09:17 -07:00
Mark Salsbery
e74d83f104 New preProcessEvent event 2020-08-12 21:22:48 -07:00
Mark Salsbery
e7a62c2717 Enhanced pointer capture implementation, IE bug workarounds 2020-07-30 21:08:02 -07:00
Mark Salsbery
2d4a723854 MouseTracker enhancements, improved IE <=10 support 2020-07-25 18:30:06 -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