mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-24 22:26:10 +03:00
clean up code added for testing
This commit is contained in:
parent
c734de531f
commit
3f21f84df4
@ -402,9 +402,7 @@ class CanvasDrawer extends OpenSeadragon.DrawerBase{
|
||||
|
||||
this._drawRectangle(placeholderRect, fillStyle, useSketch);
|
||||
}
|
||||
if(!window.draw){
|
||||
lastDrawn = [];
|
||||
}
|
||||
|
||||
var subPixelRoundingRule = determineSubPixelRoundingRule(tiledImage.subPixelRoundingForTransparency);
|
||||
|
||||
var shouldRoundPositionAndSize = false;
|
||||
|
@ -242,10 +242,7 @@
|
||||
if ( tiledImage.placeholderFillStyle && tiledImage._hasOpaqueTile === false ) {
|
||||
this._drawPlaceholder(tiledImage);
|
||||
}
|
||||
this._drawPlaceholder(tiledImage);
|
||||
if(!window.draw){
|
||||
return;
|
||||
}
|
||||
|
||||
if(tilesToDraw.length === 0 || tiledImage.getOpacity() === 0){
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user