Hello all,

while messing around with touch events I found out that Buttons rely solely on mouse events. Although the documentation of the button class explicitly says that the onAction method is fired upon touch events, the only reason why this works is because the platform fires synthesized mouse events for each touch event that reach the button. Then the mouseReleased method in the behavior class invokes the Action event. Shouldn't there be a separate handling for touch events here and the handling for mouse events only done when the isSynthesized flag of the mouse events is set to false?

Kind regards,
Sebastian Rheinnecker

--
Sebastian Rheinnecker
phone: +49 7071 9709050
fax: +49 7071 9709051

yWorks GmbH
Vor dem Kreuzberg 28
72070 Tuebingen
Germany
http://www.yworks.com
Managing Directors: Sebastian Müller, Michael Pfahler
Commercial Registry: Stuttgart, Germany, HRB 382340

Reply via email to