JChemPaint / jchempaint

Chemical 2D structure editor application/applet based on the Chemistry Development Kit
http://jchempaint.github.com
112 stars 35 forks source link

no move if dragging happens within atom selection circle #71

Closed rwst closed 12 years ago

rwst commented 12 years ago

at the moment, rectangular bounds are calculated from the selection, and moving starts if the rectangle contains the mouse. This may not work if the bounds rect degrades to a point or a line. So we explicitly include the area within selection circles. (AbstractSelectModule.java:65)