Jump to content


Photo

Text selector appears on mouse pressed


  • Please log in to reply
2 replies to this topic

#1 Z0M813

Z0M813

    GMC Member

  • GMC Member
  • 69 posts
  • Version:GM:Studio

Posted 26 June 2012 - 10:06 AM

I'm currently testing my game on my website, and unlike when I run it directly in Google Chrome from the Studio editor, the text selection mouse icon Posted Image appears when I drag the mouse when it's pressed (like it normally would on any website).

Is there any way to make the text selection mouse icon go away in the html 5 canvas?

Any help greatly appreciated!
  • 0

#2 Centauri

Centauri

    GMC Member

  • GMC Member
  • 117 posts

Posted 29 June 2012 - 04:07 PM

This occurs for me when you place other text elements in the same <div> that contains the canvas. So check you don't have any <p>, <img>, <br /> etc. inside the <div> with id "gm4html5_div_id".
  • 0

#3 Z0M813

Z0M813

    GMC Member

  • GMC Member
  • 69 posts
  • Version:GM:Studio

Posted 29 June 2012 - 10:07 PM

There's none of those tags inside the <div> </div>. I've put it inside my page exactly as the html5 were in the file.

Can't I have the same page have text and pictures? are they interfering with the html5 game canvas? I have no knowledge on this matter so anyone please enlighten me :)
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users