You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Zooming in and zooming out both translate a CCLayerPanZoom layer and its children slightly closer to the CCLayerPanZoom's anchor point, rather than the center of each pinch. I've been able to replicate this behavior with several different CCSprites and CCTMXTiledMaps, as well as an unmodified CCLayerPanZoomTestLayer.
Set a CCLayerPanZoom's anchorPoint to (0,0), add a CCSprite to a CCLayerPanZoom, and repeatedly pinch in and out over the sprite, and the CCLayerPanZoom will drift away from the sprite, towards the lower left corner. Set the anchorPoint to (1,1) and it will drift towards the upper right.
The text was updated successfully, but these errors were encountered:
I'm having this issue too with a CCTMXTiledMap within a normal CCLayer. Just repeat zooming with the pinch gesture over and over in small steps and the view will move slowly to the left lower bottom.
Anyway, thanks for this great controller, I appreciate your work very much.
Zooming in and zooming out both translate a CCLayerPanZoom layer and its children slightly closer to the CCLayerPanZoom's anchor point, rather than the center of each pinch. I've been able to replicate this behavior with several different CCSprites and CCTMXTiledMaps, as well as an unmodified CCLayerPanZoomTestLayer.
Set a CCLayerPanZoom's anchorPoint to (0,0), add a CCSprite to a CCLayerPanZoom, and repeatedly pinch in and out over the sprite, and the CCLayerPanZoom will drift away from the sprite, towards the lower left corner. Set the anchorPoint to (1,1) and it will drift towards the upper right.
The text was updated successfully, but these errors were encountered: