Touch-ups for #481

This commit is contained in:
Ian Gilman 2014-11-07 16:07:04 -08:00
parent b15b94799c
commit 1366bb7abe
2 changed files with 4 additions and 4 deletions

View File

@ -18,6 +18,7 @@ OPENSEADRAGON CHANGELOG
* Viewport.setRotation now allows all rotation angles (#466)
* Pinch rotate is now available (defaults to off) (#468)
* Added option for home button to fill viewer (#474)
* Now handling iframe/frame mouseouts properly (#481)
1.1.1:

View File

@ -461,7 +461,6 @@
simulateMove(1, 1, 5);
simulateMove(-1, -1, 5);
simulateLeaveFrame(-1, -1);
simulateMove(-1, -1, 5);
// you don't actually receive the mouseup if you mouseup outside of the document
assessGestureExpectations({
description: 'enter-press-move-exit-move-release-outside (drag, release outside iframe): ',
@ -469,7 +468,7 @@
exitCount: 1,
pressCount: 1,
releaseCount: 1,
moveCount: 15,
moveCount: 10,
clickCount: 0,
dblClickCount: 0,
dragCount: 10,
@ -624,7 +623,7 @@
var checkOriginalEventReceivedViewer = function ( event ) {
eventsHandledViewer++;
//TODO Provide a better check for the original event...simulate doesn't currently extend the object
//TODO Provide a better check for the original event...simulate doesn't currently extend the object
// with arbitrary user data.
if ( event && event.originalEvent ) {
originalEventsPassedViewer++;
@ -656,7 +655,7 @@
if ( event && event.eventSource === mouseTracker ) {
eventSourcePassedMouseTracker++;
}
//TODO Provide a better check for the original event...simulate doesn't currently extend the object
//TODO Provide a better check for the original event...simulate doesn't currently extend the object
// with arbitrary user data.
if ( event && event.originalEvent ) {
originalEventsPassedMouseTracker++;