Fixed issue 6.

This commit is contained in:
Kyle Fang
2013-02-26 23:57:41 +08:00
parent 53c97c78d6
commit 2ecb888811

View File

@@ -195,6 +195,7 @@ static char UITableViewZGParallelViewCutOffAtMaxSetContentOffSet;
case ZGScrollViewStyleCutOffAtMax:{
self.cutOffAtMaxSetContentOffSet = YES;
self.contentOffset = CGPointMake(0.f, self.viewHeight*(self.displayRadio-1.f));
self.embededScrollView.contentOffset = CGPointMake(0.f, -self.viewHeight*(self.displayRadio-1.f)*0.5);
break;
}
case ZGScrollViewStyleStickToTheTop:{