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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user