Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't use a hidden canvas when constructing the
zoomLayer
in `PDFPa…
…geView.update` *This is an existing issue that I noticed while testing PR 8552.* When zooming or rotation occurs, we'll try to use the current canvas as a (CSS transformed) preview until the page has been completely re-drawn. If you manage to change the scale (or rotation) *very* quickly, it's possible that `PDFPageView.update` can be called *before* a previous `render` operation has progressed far enough to remove the `hidden` property from the canvas. The result is thus that a page may be *entirely* black during zooming or rotation, which doesn't look very good. This effect can be a bit difficult to spot, but it does manifest even in the default viewer.
- Loading branch information