Jump to content

Don't call the button's callback when out of bounds


Jacowaco
 Share

Recommended Posts

In my buttons if i press them and then drag the mouse out of the bounds and then get up the button out, the callback is called anyway. I want the callback to only be called if the cursor or touch remains inside the button. How can i do this?

Link to comment
Share on other sites

Maybe i should explain it better.

When i touch a button, move the cursor out of the button keeping the mouse pressed, and stop pressing out of the button, the callback is called anyway.

Is there an easy way to change this?

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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