Jump to content

PIXI.AUTO_PREVENT_DEFAULT onMouseMove


ashhier
 Share

Recommended Posts

Hello guys,

 

Just recently encountered a problem when using onMouseMove on a Samsung Tablet.

 

I had to add prevent default to my onMouseMove handler function to fix the problem. I took a look in the PIXI docs, and saw that:

 

  1. if (PIXI.AUTO_PREVENT_DEFAULT)
  2. {
  3. this.mouse.originalEvent.preventDefault()
  4. }

isn't included in the onMouseMove function.

 

Is there a reason for this?

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...