mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-25 06:36:11 +03:00
small cleanup
This commit is contained in:
parent
256514bca6
commit
66b4b29424
@ -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…
Reference in New Issue
Block a user