Tilemap: Fix typo
This commit is contained in:
parent
91d19d0a73
commit
4742226e7c
|
@ -494,7 +494,7 @@ struct TilemapPrivate
|
||||||
void updatePosition()
|
void updatePosition()
|
||||||
{
|
{
|
||||||
dispPos.x = -(offset.x - viewpPos.x * 32) + elem.sceneOffset.x;
|
dispPos.x = -(offset.x - viewpPos.x * 32) + elem.sceneOffset.x;
|
||||||
dispPos.y = -(offset.y - viewpPos.y * 32) + elem.sceneOffset.x;
|
dispPos.y = -(offset.y - viewpPos.y * 32) + elem.sceneOffset.y;
|
||||||
}
|
}
|
||||||
|
|
||||||
void invalidateAtlasSize()
|
void invalidateAtlasSize()
|
||||||
|
|
Loading…
Reference in New Issue