mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 10:15:37 +02:00
Replace the PDFJS.disableWebGL
option with a enableWebGL
option passed, via BaseViewer
/PDFPageView
, to PDFPageProxy.render
Please note that the, pre-existing, viewer preference is already named `enableWebGL`; fixes 4919.
This commit is contained in:
parent
a1cfa5f4d7
commit
77efed6626
6 changed files with 16 additions and 15 deletions
|
@ -345,8 +345,6 @@ function getDefaultSetting(id) {
|
|||
return globalSettings ? globalSettings.disableFontFace : false;
|
||||
case 'disableCreateObjectURL':
|
||||
return globalSettings ? globalSettings.disableCreateObjectURL : false;
|
||||
case 'disableWebGL':
|
||||
return globalSettings ? globalSettings.disableWebGL : true;
|
||||
case 'cMapUrl':
|
||||
return globalSettings ? globalSettings.cMapUrl : null;
|
||||
case 'cMapPacked':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue