mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 10:15:37 +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,
|
function genericComposeSMask(maskCtx, layerCtx, width, height,
|
||||||
subtype, backdrop) {
|
subtype, backdrop) {
|
||||||
var hasBackdrop = backdrop !== undefined;
|
var hasBackdrop = !!backdrop;
|
||||||
var r0 = hasBackdrop ? backdrop[0] : 0;
|
var r0 = hasBackdrop ? backdrop[0] : 0;
|
||||||
var g0 = hasBackdrop ? backdrop[1] : 0;
|
var g0 = hasBackdrop ? backdrop[1] : 0;
|
||||||
var b0 = hasBackdrop ? backdrop[2] : 0;
|
var b0 = hasBackdrop ? backdrop[2] : 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue