Showing
1 changed file
with
4 additions
and
5 deletions
@@ -130,8 +130,11 @@ | @@ -130,8 +130,11 @@ | ||
130 | // NSLog(@"addTile: %d %d", tile.x, tile.y); | 130 | // NSLog(@"addTile: %d %d", tile.x, tile.y); |
131 | 131 | ||
132 | RMTileImage *dummyTile = [RMTileImage dummyTile:tile]; | 132 | RMTileImage *dummyTile = [RMTileImage dummyTile:tile]; |
133 | - if ([images containsObject:dummyTile]) | 133 | + RMTileImage *tileImage = [images member:dummyTile]; |
134 | + | ||
135 | + if (tileImage != nil) | ||
134 | { | 136 | { |
137 | + [tileImage setScreenLocation:screenLocation]; | ||
135 | [images addObject:dummyTile]; | 138 | [images addObject:dummyTile]; |
136 | } | 139 | } |
137 | else | 140 | else |
@@ -154,10 +157,6 @@ | @@ -154,10 +157,6 @@ | ||
154 | // ... Should be the same as equivalent calculation for height. | 157 | // ... Should be the same as equivalent calculation for height. |
155 | float pixelsPerTile = bounds.size.width / rect.size.width; | 158 | float pixelsPerTile = bounds.size.width / rect.size.width; |
156 | 159 | ||
157 | - // Until the proper root cause of the seam problem is discovered, I'm hacking around it with this | ||
158 | - ////////////// HACKY FIX //////////// | ||
159 | - pixelsPerTile += 0.2; | ||
160 | - | ||
161 | CGRect screenLocation; | 160 | CGRect screenLocation; |
162 | screenLocation.size.width = pixelsPerTile; | 161 | screenLocation.size.width = pixelsPerTile; |
163 | screenLocation.size.height = pixelsPerTile; | 162 | screenLocation.size.height = pixelsPerTile; |
-
Please register or login to post a comment