Jump to content

Problems on Windows Phones


NokFrt
 Share

Recommended Posts

My game runs very well on WP, but I have two problems:

 

1. when I tap the screen, I can see a small gray circle on a place where I tapped.

2. when I slide down or up, the whole canvas is move up or down.

 

Does anybody know how to disable the gray circle and how to fix the browser's viewport?

 

I use the following CSS in my index.html

* {user-select: none;-webkit-tap-highlight-color: rgba(0, 0, 0, 0);-webkit-touch-callout: none;-webkit-user-select: none;-moz-user-select: none;-ms-user-select: none;}

and my canvas is:

<canvas id="canvas" width="540" height="540" style="position: absolute;"></canvas>
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...