-
Notifications
You must be signed in to change notification settings - Fork 8
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
UI scaling #115
UI scaling #115
Conversation
@jkeshavarzi - do you want to test this since you created the issue |
Code review complete |
@@ -16,6 +16,7 @@ | |||
<html lang="en"> | |||
<head> | |||
<meta charset="utf-8"> | |||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=0.44"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will this never change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After some investigation we can do the following on the overlaywebview:
- Keep the "viewport" tag
- Add the following call to the webview: webview.setDevicePixelRatio : 1
Do not test until we make the change outlined by erikj |
@Pagey can you re-review please? @themainguru can you test please? |
Both pinch zooming and scaling with rotation on the context menu works In all cases, context menus still has a pixel ratio of 1 Testing complete. |
Code review complete |
@nukulb this can be folded? |
merged manually |
Prevent pinch zooming on ui components using hardcoded scaling ratio for viewport.
Fixes issue #155