mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Fixes optional backdrop regression
This commit is contained in:
parent
d487d4298c
commit
1ac8ca66f7
1 changed files with 1 additions and 1 deletions
|
@ -639,7 +639,7 @@ var CanvasGraphics = (function CanvasGraphicsClosure() {
|
|||
|
||||
function genericComposeSMask(maskCtx, layerCtx, width, height,
|
||||
subtype, backdrop) {
|
||||
var hasBackdrop = backdrop !== undefined;
|
||||
var hasBackdrop = !!backdrop;
|
||||
var r0 = hasBackdrop ? backdrop[0] : 0;
|
||||
var g0 = hasBackdrop ? backdrop[1] : 0;
|
||||
var b0 = hasBackdrop ? backdrop[2] : 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue