80 pixels to the right

Jun 9, 2012 at 1:13 PM
Edited Jun 9, 2012 at 1:14 PM

XNA version

in the update method of two of the AdProviderComponents the touch point has it's X co-ordinate adjusted by 80 (I'm using code from V1 I think). My question is why.

from AdRotatorDefaultHouseAdComponent.cs

if (BannerRect.Contains(new Point((int)item.Position.X - 80, (int)item.Position.Y)))

Great tool by the way, keep up the good work.


Jun 12, 2012 at 3:01 PM

Hmm, not sure why that was implemented exactly (bad sector memory fault :P ) but likely to be because of the animation.  but on the face of it, it doesn't sound right.

I'll add it to the issue list for the next update to investigate

Thanks for letting us know