mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-01-31 15:12:07 +03:00
Add check for null compositeOperation option when setting useSketch
This commit is contained in:
parent
ac0438e07b
commit
91ecd80a4f
@ -1329,7 +1329,9 @@ function drawTiles( tiledImage, lastDrawn ) {
|
||||
drawDebugInfo( tiledImage, lastDrawn );
|
||||
return;
|
||||
}
|
||||
var useSketch = tiledImage.opacity < 1 || tiledImage.compositeOperation !== 'source-over';
|
||||
var useSketch = tiledImage.opacity < 1 ||
|
||||
(tiledImage.compositeOperation !== null && tiledImage.compositeOperation !== 'source-over');
|
||||
|
||||
var sketchScale;
|
||||
var sketchTranslate;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user