Fix method name.

This commit is contained in:
Antoine Vandecreme 2016-03-31 16:59:26 -04:00
parent 05a7e5e467
commit c8ed3893ad

View File

@ -287,7 +287,7 @@
// private
_getOverlayPositionAndSize: function(viewport) {
var position = viewport.pixelFromPoint(this.location, true);
var size = this._getSizeinPixels(viewport);
var size = this._getSizeInPixels(viewport);
this.adjust(position, size);
var rotate = 0;
@ -314,7 +314,7 @@
},
// private
_getSizeinPixels: function(viewport) {
_getSizeInPixels: function(viewport) {
var width = this.size.x;
var height = this.size.y;
if (this.width !== null || this.height !== null) {