You are reading a single comment by @HughB and its replies. Click here to read the full conversation.
  • To me it looks like on(touch) returns coordinates outside the values returned by g.getWidth() and g.getHeight(). I would argue that clipping is the correct thing to do.

    I would never expect ontouch to return an x or y outside of the size of the screen reported by g.getWidth() and g.getHeight().

About

Avatar for HughB @HughB started