mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2025-12-19 13:00:12 -07:00
Device independent touch sloppiness
This commit is contained in:
parent
4b002cb6d2
commit
5ba7a0cfe9
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ public class BaseMainActivity extends LoggableActivity {
|
|||
private DisplayMetrics displayMetrics;
|
||||
public float scaleFactor = 1;
|
||||
public double sensitivityFactor;
|
||||
private final int fingerStillThreshold = 8;
|
||||
private final int fingerStillThreshold = (int) Tools.dpToPx(9);
|
||||
private float initialX, initialY;
|
||||
private int scrollInitialX, scrollInitialY;
|
||||
private float prevX, prevY;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue