mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-16 16:16:04 -04:00
Extend pause a bit
This commit is contained in:
parent
6cdfe1a694
commit
2be5ae2584
@ -25,7 +25,8 @@ public class CallbackBridge {
|
|||||||
public static void putMouseEventWithCoords(int button, float x, float y) {
|
public static void putMouseEventWithCoords(int button, float x, float y) {
|
||||||
putMouseEventWithCoords(button, true, x, y);
|
putMouseEventWithCoords(button, true, x, y);
|
||||||
Handler handler = new Handler(Looper.getMainLooper());
|
Handler handler = new Handler(Looper.getMainLooper());
|
||||||
handler.postDelayed(() -> putMouseEventWithCoords(button, false, x, y), 18);
|
handler.postDelayed(() -> putMouseEventWithCoords(button, false, x, y), 22);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void putMouseEventWithCoords(int button, boolean isDown, float x, float y /* , int dz, long nanos */) {
|
public static void putMouseEventWithCoords(int button, boolean isDown, float x, float y /* , int dz, long nanos */) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user