From c8ed3893ad854d35c01beb8d384612d06fc2204c Mon Sep 17 00:00:00 2001 From: Antoine Vandecreme Date: Thu, 31 Mar 2016 16:59:26 -0400 Subject: [PATCH] Fix method name. --- src/overlay.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/overlay.js b/src/overlay.js index 5be33b8f..fa5ddefa 100644 --- a/src/overlay.js +++ b/src/overlay.js @@ -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) {