Fix TilingSprite tilePosition + tileScale bug
Demonstration: http://www.davidsweetman.com/pixi/demo/

When the tilePosition was set to be greater than the texture
width while a tileScale was applied, taking the tilePosition
modulo the texture width would cause the resulting texture
coordinates to drift off of whole steps of the texture.

This fix takes the tileScale into account while applying the
tilePosition.
1 parent c947493 commit 6d5beddae45cb6b452855129e9482e53b8c381df
@David Sweetman David Sweetman authored on 15 May 2015
Showing 1 changed file
View
src/extras/TilingSprite.js