Commit Graph

20 Commits

Author SHA1 Message Date
Ben Delarre
bbcb9c1219 Fixed bounds of test. 2014-09-23 11:32:37 -07:00
Ben Delarre
23c9155e52 Fixed comment. 2014-09-23 11:30:46 -07:00
Ben Delarre
f07108ec2d Updated implementation to better pass tests, still not 100% though. 2014-09-23 11:26:42 -07:00
Mark Salsbery
7567a657bd Add Double-Click/Tap Gesture to MouseTracker (#300)
Fix for enhancement #300
Added double-click/tap gesture detection to MouseTracker.with
corresponding dblClickHandler event callback.
Added unit test for double-click detection.
Added Viewer dblClickHandler handling to optionally zoom on
double-click.
2014-04-22 09:23:56 -07:00
Mark Salsbery
8e119d66e5 Minor naming changes 2014-04-16 06:40:19 -07:00
Mark Salsbery
c2e7b376b0 pinchToZoom gesture option added, misc. fixes
changelog update.
pinchToZoom gesture option added.
Event unit tests cleaned up.
2014-04-15 19:19:47 -07:00
Mark Salsbery
b897959cff Unit test fix for mouseover/mouseout fallback 2014-04-15 14:16:10 -07:00
Mark Salsbery
9b15ca090b Fallback to mouseover/mouseout, 2014-04-15 13:04:08 -07:00
Mark Salsbery
09bfd55add MouseTracker fixes and tests
Separated event-model/device specific event handling code from
event-model/device agnostic event handling code.
Use enter/leave events instead of over/out events.
Updated unit tests for above changes.
Added unit tests for mouse gestures.
Updated changelog for breaking changes and deprecations.
2014-04-14 18:17:18 -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
27424348f3 Added test case for tile-drawing event. 2014-03-03 16:19:40 -07:00
Mark Salsbery
626f27771f MouseTracker preventDefaultAction Unit Tests 2013-11-08 08:24:44 -08:00
Mark Salsbery
a9d6a82c67 Unit test update for EventSource originalEvent 2013-10-15 11:27:21 -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
4adeacdc5e MouseTracker Original Events in Handlers
MouseTracker Unit Tests
2013-09-20 09:17:48 -07:00
Mark Salsbery
0bbf6bc58a Unit tests for canvas drag, release, click events 2013-08-30 10:09:22 -07:00
Mark Salsbery
1a005573f5 Unit tests for canvas drag, release, click events 2013-08-29 13:01:07 -07:00
Mark Salsbery
6049a7ecef Unit tests for canvas drag, release, click events
Added test for canvas-drag, canvas-release, and canvas-click events
2013-08-28 11:33:41 -07:00
Mark Salsbery
853a141994 Unit tests for userData in events (issue #203) 2013-08-28 05:50:22 -07:00