Skip to content

Commit

Permalink
#149 Screen Annotations:
Browse files Browse the repository at this point in the history
adjusted position of annotations in demo data
  • Loading branch information
bruderol committed Sep 29, 2015
1 parent 984fee7 commit 1754176
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Expand Up @@ -167,7 +167,7 @@ private Map<String, ScreenRegion> createElementRegions(final String stepName) {
elementRegions.put("linkWithText=42 - The answer to everything", new ScreenRegion(472, 244, 410, 20));
elementRegions.put("linkWithText=Espanol", new ScreenRegion(30, 755, 50, 14));
elementRegions.put("linkWithText=dummy-next-link-not-visible-on-screenshot",
new ScreenRegion(750, 544, 120, 28));
new ScreenRegion(1050, 844, 120, 28));

// Later here: some of this elements might be placed different for some special steps dependent on the passed
// stepName
Expand Down
Expand Up @@ -80,8 +80,8 @@ private ScreenRegion region(final int colIndex, final int rowIndex, final int sp
int rowHeight = 32;
int margin = 64;
return new ScreenRegion(
colIndex * (colWidth + margin) + margin,
rowIndex * (rowHeight + margin) + margin,
colIndex * (colWidth + margin) + margin + 300,
rowIndex * (rowHeight + margin) + margin + 300,
spanCols * (colWidth + margin) - margin,
spanRows * rowHeight);
}
Expand Down

0 comments on commit 1754176

Please sign in to comment.