diff --git a/swing/src/net/sf/openrocket/gui/rocketfigure/MassComponentShapes.java b/swing/src/net/sf/openrocket/gui/rocketfigure/MassComponentShapes.java index c770509f2..f9067e3ed 100644 --- a/swing/src/net/sf/openrocket/gui/rocketfigure/MassComponentShapes.java +++ b/swing/src/net/sf/openrocket/gui/rocketfigure/MassComponentShapes.java @@ -33,7 +33,7 @@ public class MassComponentShapes extends RocketComponentShape { radialDistance * Math.sin(radialAngleRadians)); final Coordinate renderPosition = transformation.transform(localPosition); - Shape[] s = {new RoundRectangle2D.Double(renderPosition.x - radius, renderPosition.y - radius, length, 2*radius, arc, arc)}; + Shape[] s = {new RoundRectangle2D.Double(renderPosition.x, renderPosition.y - radius, length, 2*radius, arc, arc)}; final MassComponent.MassComponentType type = ((MassComponent)component).getMassComponentType(); switch (type) { diff --git a/swing/src/net/sf/openrocket/gui/rocketfigure/ParachuteShapes.java b/swing/src/net/sf/openrocket/gui/rocketfigure/ParachuteShapes.java index 6edf1aa7c..5b68d9759 100644 --- a/swing/src/net/sf/openrocket/gui/rocketfigure/ParachuteShapes.java +++ b/swing/src/net/sf/openrocket/gui/rocketfigure/ParachuteShapes.java @@ -29,7 +29,7 @@ public class ParachuteShapes extends RocketComponentShape { radialDistance * Math.sin(radialAngleRadians)); final Coordinate renderPosition = transformation.transform(localPosition); - Shape[] s = {new RoundRectangle2D.Double(renderPosition.x - radius, renderPosition.y - radius, length, 2*radius, arc, arc)}; + Shape[] s = {new RoundRectangle2D.Double(renderPosition.x, renderPosition.y - radius, length, 2*radius, arc, arc)}; return RocketComponentShape.toArray( addSymbol(s), component); } diff --git a/swing/src/net/sf/openrocket/gui/rocketfigure/StreamerShapes.java b/swing/src/net/sf/openrocket/gui/rocketfigure/StreamerShapes.java index 4f50494e4..b14f7b724 100644 --- a/swing/src/net/sf/openrocket/gui/rocketfigure/StreamerShapes.java +++ b/swing/src/net/sf/openrocket/gui/rocketfigure/StreamerShapes.java @@ -28,7 +28,7 @@ public class StreamerShapes extends RocketComponentShape { radialDistance * Math.sin(radialAngleRadians)); final Coordinate renderPosition = transformation.transform(localPosition); - Shape[] s = {new RoundRectangle2D.Double(renderPosition.x - radius, renderPosition.y - radius, length, 2*radius, arc, arc)}; + Shape[] s = {new RoundRectangle2D.Double(renderPosition.x, renderPosition.y - radius, length, 2*radius, arc, arc)}; return RocketComponentShape.toArray(addSymbol(s), component); }