mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
cleanup
This commit is contained in:
parent
5022e2411c
commit
0c2b6aea5f
1 changed files with 1 additions and 2 deletions
3
pdf.js
3
pdf.js
|
@ -4022,8 +4022,7 @@ var CanvasGraphics = (function() {
|
|||
var pattern = xref.fetchIfRef(patternRes.get(patternName.name));
|
||||
var dict = IsStream(pattern) ? pattern.dict : pattern;
|
||||
|
||||
var types = [null, this.setTilingPattern,
|
||||
this.setShadingPattern];
|
||||
var types = [null, this.setTilingPattern, this.setShadingPattern];
|
||||
|
||||
var typeNum = dict.get("PatternType");
|
||||
var patternFn = types[typeNum];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue