Compare commits

...

3 Commits

Author SHA1 Message Date
Ian Gilman
229bfe7946 Changelog for #2147 2022-04-19 13:46:08 -07:00
Ian Gilman
a8233ca6e1
Merge pull request #2147 from Aiosa/mousetracker
Release handler and undefined releasePoint instance
2022-04-19 13:44:14 -07:00
Jirka
b2eda881e8 Another problem with release handler: a point instace could be undefined. 2022-04-16 16:53:30 +02:00
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ OPENSEADRAGON CHANGELOG
* Fixed: Setting useCanvas to false would break the viewer (#2116 @rvv-bouvet) * Fixed: Setting useCanvas to false would break the viewer (#2116 @rvv-bouvet)
* Allow silencing multi-image warnings on viewport coordinate conversion functions (#2120 @claycoleman) * Allow silencing multi-image warnings on viewport coordinate conversion functions (#2120 @claycoleman)
* Fixed: Swiping fast multiple times made contact points in MouseTracker out of sync for touch events (#2121 @ronnymikalsen) * Fixed: Swiping fast multiple times made contact points in MouseTracker out of sync for touch events (#2121 @ronnymikalsen)
* Made MouseTracker more robust in certain scenarios (#2134 @Aiosa) * Made MouseTracker more robust in certain scenarios (#2134, #2147 @Aiosa)
* Exposed TiledImage's private functions for better maintainability (#2134 @Aiosa) * Exposed TiledImage's private functions for better maintainability (#2134 @Aiosa)
* Fixed an issue where full page mode wouldn't grow properly if you resized the window (#2100 @TanukiSharp) * Fixed an issue where full page mode wouldn't grow properly if you resized the window (#2100 @TanukiSharp)
* Tile cache keys are now generated by the tile source, so it's easier to override them as needed (#2138 @Aiosa) * Tile cache keys are now generated by the tile source, so it's easier to override them as needed (#2138 @Aiosa)

View File

@ -3561,7 +3561,7 @@
eventInfo.shouldReleaseCapture = false; eventInfo.shouldReleaseCapture = false;
// Release (pressed in another element) // Release (pressed in another element)
if ( tracker.releaseHandler ) { if ( tracker.releaseHandler && releasePoint ) {
tracker.releaseHandler( tracker.releaseHandler(
{ {
eventSource: tracker, eventSource: tracker,