diff --git a/changelog.txt b/changelog.txt index 59980ae9..f8c00d77 100644 --- a/changelog.txt +++ b/changelog.txt @@ -7,6 +7,7 @@ OPENSEADRAGON CHANGELOG * onTouchEnd did not call the correct mouse up handler; fixed (#159) * Touch events no longer capture mouse (was causing issues on devices that support both) (#168) * You can now provide an onDraw function for overlays to do custom overlay manipulation (#160) +* Hiding and restoring broke the viewer; fixed (#177) 0.9.129: diff --git a/src/viewer.js b/src/viewer.js index 9c1c7469..0c6f5969 100644 --- a/src/viewer.js +++ b/src/viewer.js @@ -1109,10 +1109,10 @@ $.extend( $.Viewer.prototype, $.EventHandler.prototype, $.ControlDock.prototype, /** - * _getSafeElemSize returns getElementSize(), but refuses to return 0 for X or y, - * which was causing some calling operations in updateOnve and openTileSource to + * _getSafeElemSize is like getElementSize(), but refuses to return 0 for x or y, + * which was causing some calling operations in updateOnce and openTileSource to * return NaN. - * @returns {point} + * @returns {Point} * @private */ function _getSafeElemSize (oElement) {