Commit 6aa4bfec authored by Nico Mack's avatar Nico Mack

Fixed size conversion bug in ShapeBootstrapper

parent b2a0da11
......@@ -103,6 +103,8 @@ public class ShapeBootstrapper {
coordinates = new ScreenCoordinates(dimensions, 0, 0);
}
dimensions.setState(coordinates);
switch (type.trim().toLowerCase()) {
case "circle": //$NON-NLS-1$
dimensions.setLocation(circleSize, circleSize);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment