mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-01-19 17:21:50 +03:00
💄 Rename to drawRectangle
This commit is contained in:
parent
9df77ee915
commit
0d056145a3
@ -305,7 +305,7 @@ $.Drawer.prototype = /** @lends OpenSeadragon.Drawer.prototype */{
|
|||||||
},
|
},
|
||||||
|
|
||||||
// private
|
// private
|
||||||
drawPlaceholder: function(rect, fillStyle) {
|
drawRectangle: function(rect, fillStyle) {
|
||||||
if (!this.useCanvas) {
|
if (!this.useCanvas) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -1181,7 +1181,7 @@ function drawTiles( tiledImage, lastDrawn ) {
|
|||||||
fillStyle = tiledImage.placeholderFillStyle;
|
fillStyle = tiledImage.placeholderFillStyle;
|
||||||
}
|
}
|
||||||
|
|
||||||
tiledImage._drawer.drawPlaceholder(placeholderRect, fillStyle);
|
tiledImage._drawer.drawRectangle(placeholderRect, fillStyle);
|
||||||
}
|
}
|
||||||
|
|
||||||
for ( i = lastDrawn.length - 1; i >= 0; i-- ) {
|
for ( i = lastDrawn.length - 1; i >= 0; i-- ) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user