mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2025-12-19 13:00:12 -07:00
Update BaseMainActivity to use the new tap detector
This commit is contained in:
parent
384620e4bd
commit
c3942d9570
1 changed files with 2 additions and 2 deletions
|
|
@ -97,7 +97,7 @@ public class BaseMainActivity extends LoggableActivity {
|
|||
private ScrollView contentScroll;
|
||||
private ToggleButton toggleLog;
|
||||
private GestureDetector gestureDetector;
|
||||
private DoubleTapDetector doubleTapDetector;
|
||||
private TapDetector doubleTapDetector;
|
||||
|
||||
private TextView debugText;
|
||||
private NavigationView.OnNavigationItemSelectedListener gameActionListener;
|
||||
|
|
@ -165,7 +165,7 @@ public class BaseMainActivity extends LoggableActivity {
|
|||
|
||||
|
||||
gestureDetector = new GestureDetector(this, new SingleTapConfirm());
|
||||
doubleTapDetector = new DoubleTapDetector();
|
||||
doubleTapDetector = new TapDetector(2, TapDetector.DETECTION_METHOD_DOWN);
|
||||
|
||||
|
||||
// Menu
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue