mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-01-19 17:21:50 +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…
x
Reference in New Issue
Block a user