sync swipe motion in deck viewer act accordingly to a swipe/pan on corresponding platform (iOS vs everything else)

This commit is contained in:
techdragon.nguyen@gmail.com
2012-01-30 10:23:40 +00:00
parent b44f3088c2
commit fb43b9012b
2 changed files with 12 additions and 2 deletions

View File

@@ -419,7 +419,7 @@ static NSString *_MY_AD_WHIRL_APPLICATION_KEY_IPAD = @"2e70e3f3da40408588b9a3170
else
{
CGPoint v2 = [panGesture velocityInView: self];
g_engine->Scroll( 0 - static_cast<int>(v2.x), 0 - static_cast<int>(v2.y));
g_engine->Scroll( static_cast<int>(v2.x), static_cast<int>(v2.y));
[self performSelector: @selector(resetInput) withObject: nil afterDelay: 0.5];
}