Skip to content

Conversation

@jviereck
Copy link
Owner

@jviereck jviereck commented Sep 8, 2014

@jpallen, can you do another small review here please?

Motivation for the change: If the viewport size changes, the this.resetRenderState(); should be called only once.

PS: @jpallen is that okay if I ask you for review on these PR? I don't want you to feel comitted to do the reviews and force you in doing anything but your help here is highly appreciated :)

@jpallen
Copy link
Contributor

jpallen commented Sep 8, 2014

LGTM (I've never fully groked the rendering code re canvas dimensions vs PDF.js dimensions, but this seems like an obvious improvement). The moving of lines 475-477 to 486-488 doesn't make any difference?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants