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

Fixes #111

Merged
merged 7 commits into from Jul 15, 2020
Merged

Fixes #111

Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expected type 'int', got 'float' instead
style.zoom method takes uints as an argument.

Regression introduced in 8b0e072
  • Loading branch information
Saumya-Mishra9129 committed Jun 20, 2020
commit 0d4efb51b6e1bb6cd8b11262e729c9a8e8334087
@@ -44,7 +44,7 @@
from pdfviewer import PDFTabPage

# Sugar is relative to 100x (XO), the web is relative to 72x (desktop) scale
ZOOM_ORIGINAL = style.zoom(100 * 100 / 72) / 100.0
ZOOM_ORIGINAL = style.zoom(100 * 100 // 72) / 100.0
_ZOOM_AMOUNT = 0.1
LIBRARY_PATH = '/usr/share/library-common/index.html'