mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-25 22:56:11 +03:00
Fix method name.
This commit is contained in:
parent
05a7e5e467
commit
c8ed3893ad
@ -287,7 +287,7 @@
|
|||||||
// private
|
// private
|
||||||
_getOverlayPositionAndSize: function(viewport) {
|
_getOverlayPositionAndSize: function(viewport) {
|
||||||
var position = viewport.pixelFromPoint(this.location, true);
|
var position = viewport.pixelFromPoint(this.location, true);
|
||||||
var size = this._getSizeinPixels(viewport);
|
var size = this._getSizeInPixels(viewport);
|
||||||
this.adjust(position, size);
|
this.adjust(position, size);
|
||||||
|
|
||||||
var rotate = 0;
|
var rotate = 0;
|
||||||
@ -314,7 +314,7 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
// private
|
// private
|
||||||
_getSizeinPixels: function(viewport) {
|
_getSizeInPixels: function(viewport) {
|
||||||
var width = this.size.x;
|
var width = this.size.x;
|
||||||
var height = this.size.y;
|
var height = this.size.y;
|
||||||
if (this.width !== null || this.height !== null) {
|
if (this.width !== null || this.height !== null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user