Skip to content
Snippets Groups Projects
Commit 582cb949 authored by Lukas Ladenberger's avatar Lukas Ladenberger
Browse files

fixed bug: negative coordinates were not shown

parent 7c5fe944
No related branches found
No related tags found
No related merge requests found
......@@ -27,12 +27,9 @@ public class BAttributeCoordinates extends AbstractAttribute {
Point point = (Point) element;
StringBuffer buf = new StringBuffer();
buf.append("[");
if (point.x >= 0)
buf.append(point.x);
if (point.y >= 0) {
buf.append(", ");
buf.append(point.y);
}
buf.append("]");
return buf.toString();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment