mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 17:30:09 +02:00
Reverts #4556 due to flicker on Chome
This commit is contained in:
parent
012a727eed
commit
f6c631bc31
3 changed files with 3 additions and 3 deletions
|
@ -53,7 +53,7 @@ var TextLayerBuilder = function textLayerBuilder(options) {
|
|||
this.renderLayer = function textLayerBuilderRenderLayer() {
|
||||
var textDivs = this.textDivs;
|
||||
var canvas = document.createElement('canvas');
|
||||
var ctx = canvas.getContext('2d', {alpha: false});
|
||||
var ctx = canvas.getContext('2d');
|
||||
|
||||
// No point in rendering so many divs as it'd make the browser unusable
|
||||
// even after the divs are rendered
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue