mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-03-29 03:39:50 +03:00
small cleanup
This commit is contained in:
parent
256514bca6
commit
66b4b29424
1 changed files with 0 additions and 2 deletions
|
@ -719,8 +719,6 @@ $.Viewport.prototype = {
|
|||
this.zoomTo(currentZoom, null, true);
|
||||
|
||||
this.fitBounds(constrainedBounds);
|
||||
|
||||
// this.zoomTo(newZoom, referencePoint, immediately);
|
||||
} else {
|
||||
var rotatedNewBounds = newBounds.rotate(-this.getRotation());
|
||||
var referencePoint = rotatedNewBounds.getTopLeft().times(newZoom)
|
||||
|
|
Loading…
Add table
Reference in a new issue