Skip to content

Commit

Permalink
Yet another small icons position tuning.
Browse files Browse the repository at this point in the history
  • Loading branch information
Taran Vladimir committed Jul 15, 2019
1 parent 59b2762 commit b79312f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/org/obiz/sdtd/tool/rgwmap/MapBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,8 @@ private void drawPrefabs() throws IOException, XMLStreamException, SVGException
int y = (mapSize / 2 - Integer.parseInt(split[2])) / downScale;

int rot = Integer.parseInt(xmlr.getAttributeValue(3));
int xShift = x + i15;
int yShift = y - i50;
int xShift = x + i10;
int yShift = y - i45;

String prefabName = xmlr.getAttributeValue(1);
String foundPrefabGroup = null;
Expand All @@ -281,7 +281,7 @@ private void drawPrefabs() throws IOException, XMLStreamException, SVGException
prefabsCounter++;

if(foundPrefabGroup!=null) {
drawIcon(g, foundPrefabGroup, i40, x, yShift, DRAW_ICON_AXIS);
drawIcon(g, foundPrefabGroup, i40, xShift, yShift, DRAW_ICON_AXIS);
if (prefabsCounter % 200 == 0) System.out.print("\u25AF");
} else if (prefabName.contains("garage")) {
g.setColor(buildColors.get("black"));
Expand Down

0 comments on commit b79312f

Please sign in to comment.