Changes
- Bug fix: move camera a bit causes trigger right mouse. - Implemented Hotbar touch (from Android version with some changes from @serpentspirale
This commit is contained in:
1 parent
8dee3ac1bf
commit
6efde23c02
6 files changed
+105
-9
No files matched your search
@@ -5,6 +5,7 @@ import java.util.*;
|
||||
import android.util.*;
|
||||
|
||||
import net.kdt.pojavlaunch.*;
|
||||
import net.kdt.pojavlaunch.uikit.UIKit;
|
||||
|
||||
public class CallbackBridge {
|
||||
public static final int CLIPBOARD_COPY = 2000;
|
||||
@@ -178,6 +179,10 @@ public class CallbackBridge {
|
||||
public static void sendGrabbing(boolean grab, int xset, int yset) {
|
||||
// sendData(ANDROID_TYPE_GRAB_STATE, Boolean.toString(grab));
|
||||
|
||||
if (grab) {
|
||||
UIKit.updateMCGuiScale();
|
||||
}
|
||||
|
||||
mouseX = xset;
|
||||
mouseY = yset;
|
||||
|
||||
|
||||
Reference in new issue
Block a user