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

Enable to touch in Android native browser and Chrome #66

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

tilemapjp
Copy link

Enable to touch in Android native browser and Chrome.
And fix flashing display when touches are started in Android native browser.

// mark these touches so they aren't used as taps/holds
l0.wasPinch = true;
l1.wasPinch = true;

// scale about the center of these touches
var center = MM.Point.interpolate(p0, p1, 0.5);
var center = MM.Point.interpolate(p0, p1, 0.5);
var scale = Math.sqrt(Math.pow(p0.x - p1.x, 2) + Math.pow(p0.y - p1.y, 2));
Copy link

Choose a reason for hiding this comment

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

Choose a reason for hiding this comment

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

Sure.
Sorry I didn't know clearly about that function, so will check it and change to use it.

Choose a reason for hiding this comment

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

Sorry, I add all comments not by our group account but my own account.

@tilemapjp
Copy link
Author

I committed new source.

@tmcw
Copy link

tmcw commented Apr 4, 2013

Still not really supporting the addition of insertCss etc for removing touchcallouts. MM should not mess with the stylesheet API or add rules like that.

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