Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[android] - make rotation gesture easier to trigger (#7299)
Browse files Browse the repository at this point in the history
  • Loading branch information
tobrun committed Dec 6, 2016
1 parent bcf911b commit 077d685
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ public TwoFingerGestureDetector(Context context) {
super(context);

ViewConfiguration config = ViewConfiguration.get(context);
mEdgeSlop = config.getScaledEdgeSlop();

// We divide edge slop by 2 to make rotation gesture happen more easily #6870
mEdgeSlop = config.getScaledEdgeSlop() / 2;
}

@Override
Expand Down

0 comments on commit 077d685

Please sign in to comment.