From: <ha...@us...> - 2006-09-22 01:38:31
|
Revision: 5647 http://svn.sourceforge.net/jmol/?rev=5647&view=rev Author: hansonr Date: 2006-09-21 18:38:26 -0700 (Thu, 21 Sep 2006) Log Message: ----------- label pointer to atom for simple labels Modified Paths: -------------- trunk/Jmol/src/org/jmol/viewer/Text.java Modified: trunk/Jmol/src/org/jmol/viewer/Text.java =================================================================== --- trunk/Jmol/src/org/jmol/viewer/Text.java 2006-09-22 01:34:08 UTC (rev 5646) +++ trunk/Jmol/src/org/jmol/viewer/Text.java 2006-09-22 01:38:26 UTC (rev 5647) @@ -398,7 +398,9 @@ boxHeight - 2); g3d.drawLine(bgcolix, x0, y0, zSlab, x, y + boxHeight/2, zSlab); } - g3d.drawString(strLabel, font3d, colix, x + 4, y + 4 + ascent, + //just a little pointer -- only for the simplest of labels + if (xOffset > 0) + g3d.drawString(strLabel, font3d, colix, x + 4, y + 4 + ascent, z - 1, zSlab); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |