mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-03-28 19:35:10 +03:00
Fix the optional check to include null
This commit is contained in:
parent
41ee1e27fd
commit
ac0438e07b
1 changed files with 1 additions and 1 deletions
|
@ -384,7 +384,7 @@ $.Drawer.prototype = /** @lends OpenSeadragon.Drawer.prototype */{
|
|||
|
||||
this.context.save();
|
||||
this.context.globalAlpha = opacity;
|
||||
if (compositeOperation !== undefined) {
|
||||
if (compositeOperation !== undefined && compositeOperation !== null) {
|
||||
this.context.globalCompositeOperation = compositeOperation;
|
||||
}
|
||||
this.context.drawImage(
|
||||
|
|
Loading…
Add table
Reference in a new issue