Skip to content

Commit 36ffb19

Browse files
committed
too fast... fix again...
1 parent 880687f commit 36ffb19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/graphics/TileLayer.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ inline namespace v1 {
211211

212212
RectF bounds = m_properties->computeCellBounds(coords);
213213
Vector2f position = bounds.getPosition();
214-
position.y += bounds.getSize().width - sheet.tileset.getTileSize().width;
214+
position.y += bounds.getSize().height - sheet.tileset.getTileSize().height;
215215
position += sheet.tileset.getOffset();
216216
Vector2f size = sheet.tileset.getTileSize();
217217

0 commit comments

Comments
 (0)