💄 Rename to drawRectangle

This commit is contained in:
Philip Giuliani 2015-04-15 18:31:56 +02:00
parent 9df77ee915
commit 0d056145a3
2 changed files with 2 additions and 2 deletions

View File

@ -305,7 +305,7 @@ $.Drawer.prototype = /** @lends OpenSeadragon.Drawer.prototype */{
},
// private
drawPlaceholder: function(rect, fillStyle) {
drawRectangle: function(rect, fillStyle) {
if (!this.useCanvas) {
return;
}

View File

@ -1181,7 +1181,7 @@ function drawTiles( tiledImage, lastDrawn ) {
fillStyle = tiledImage.placeholderFillStyle;
}
tiledImage._drawer.drawPlaceholder(placeholderRect, fillStyle);
tiledImage._drawer.drawRectangle(placeholderRect, fillStyle);
}
for ( i = lastDrawn.length - 1; i >= 0; i-- ) {