changeset 1156:4da9f058fed6

Fix flys/issue280 (boundingboxes of annotation). flys-artifacts/trunk@2687 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Fri, 09 Sep 2011 13:26:28 +0000 (2011-09-09)
parents 854c2f7da3f1
children a470b7c3b165
files flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Fri Sep 09 13:02:23 2011 +0000
+++ b/flys-artifacts/ChangeLog	Fri Sep 09 13:26:28 2011 +0000
@@ -1,3 +1,10 @@
+2011-09-09  Felix Wolfsteller <felix.wolfsteller@intevation.de>
+
+ Fix flys/issue280 .
+
+	* src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
+	  Do not draw boxes around annotations.
+
 2011-09-09  Felix Wolfsteller <felix.wolfsteller@intevation.de>
 
  Fix flys/issue279 .
--- a/flys-artifacts/src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java	Fri Sep 09 13:02:23 2011 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java	Fri Sep 09 13:26:28 2011 +0000
@@ -300,7 +300,7 @@
         TextUtilities.drawRotatedString(getText(), g2, anchorX, anchorY,
                 getTextAnchor(), getRotationAngle(), getRotationAnchor());
         // Draw outline.
-        if (true) {
+        if (false) {
             g2.setStroke(getOutlineStroke());
             g2.setPaint(getOutlinePaint());
             g2.draw(hotspot);

http://dive4elements.wald.intevation.org