Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed original size for showAll=false #190

Merged

Conversation

borys-kupar
Copy link
Contributor

Hi! Thanks for the ng2-pdf-viewer component.

I've been using your component in my app, and found out that [original-size] attribute doesn't seem to work when you want to show first page only - [show-all]="false".

You can reproduce it on project demo page:
https://vadimdez.github.io/ng2-pdf-viewer/

  1. Switch on 'Original size' -> PDF is now in original size.
  2. Switch off 'Show all pages' -> PDF is now in scaled size (wrong).

The submitted PR should resolve this bug, pls let me know if smth is wrong, or can be improved.

Thx!

@VadimDez VadimDez added this to the 2.0.3 milestone Oct 30, 2017
@VadimDez VadimDez merged commit 147ab9b into VadimDez:master Oct 30, 2017
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.

2 participants