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

UI scaling #115

Closed
wants to merge 1 commit into from
Closed

UI scaling #115

wants to merge 1 commit into from

Conversation

rcruz
Copy link
Member

@rcruz rcruz commented Aug 1, 2012

Prevent pinch zooming on ui components using hardcoded scaling ratio for viewport.

Fixes issue #155

@nukulb
Copy link

nukulb commented Aug 3, 2012

@jkeshavarzi - do you want to test this since you created the issue

@ericpearson
Copy link

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">
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this never change?

Copy link

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:

  1. Keep the "viewport" tag
  2. Add the following call to the webview: webview.setDevicePixelRatio : 1

@rcruz
Copy link
Member Author

rcruz commented Aug 8, 2012

Do not test until we make the change outlined by erikj

@ejzn
Copy link

ejzn commented Aug 8, 2012

@Pagey can you re-review please? @themainguru can you test please?

@jengee
Copy link

jengee commented Aug 8, 2012

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.

@ericpearson
Copy link

Code review complete

@ejzn
Copy link

ejzn commented Aug 9, 2012

@nukulb this can be folded?

@nukulb
Copy link

nukulb commented Aug 9, 2012

merged manually

@nukulb nukulb closed this Aug 9, 2012
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.

5 participants