sojamo / controlp5

A gui library for processing.org
GNU Lesser General Public License v2.1
490 stars 142 forks source link

Android Buttons : need to click twice #157

Open lotelx opened 5 years ago

lotelx commented 5 years ago

In Android is producing a strange behavior. Need to click twice, one for highlight and other to call the action.

Also if a button is highlighted and you press in other part of the screen, the result is that the button highlighted is pressed.

Don't make sense to highlight on android, since you can not put the finger over the button without click, as in PC works the mouse over.

This problem appears even in the example provided by the library: ControlP5Button

aproof commented 4 years ago

https://github.com/sojamo/controlp5/pull/34 it is closed but can be used by you for fix