Lower threshold for rotation drift

It’s pretty darn hard to get up to 5 rad/s with the same two fingers.
This commit is contained in:
Minh Nguyễn
2015-04-20 11:15:29 -07:00
parent fae0c4c8b3
commit 0aadbedecb

View File

@@ -841,7 +841,7 @@ mbgl::DefaultFileSource *mbglFileSource = nullptr;
{
CGFloat velocity = rotate.velocity;
if (fabs(velocity) > 5)
if (fabs(velocity) > 3)
{
CGFloat radians = self.angle + rotate.rotation;
CGFloat duration = UIScrollViewDecelerationRateNormal;