codeaudit / gwt-chronoscope

Automatically exported from code.google.com/p/gwt-chronoscope
GNU Lesser General Public License v2.1
1 stars 0 forks source link

Marker hit detection not working on Y axis #43

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Marker hit is erroneously detected on Y axis when clicking anywhere below
the marker icon.  To witness this behavior:

1) Go to the last chart on the advanced demo site:
http://timepedia.org/chronoscope/demo/advanced/
2) Position the mouse pointer anywhere on the plot that's directly below
the 'S' marker and click
3) The "Hello, you clicked the 'S' marker" label appears

The label should only popup if the pointer is clicked within the marker bounds.

Original issue reported on code.google.com by chadtaka...@gmail.com on 30 Jun 2008 at 6:01

GoogleCodeExporter commented 9 years ago

Original comment by chadtaka...@gmail.com on 30 Jun 2008 at 6:04

GoogleCodeExporter commented 9 years ago
Fixed in r172.  Caused by small bug in comparison expression within 
Marker.isHit().

Original comment by chadtaka...@gmail.com on 30 Jun 2008 at 6:18