mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-13 06:39:54 -04:00
Bug fixrs
- Language script updater script generates wrong output. - Try to fix OpenGL render surface always focus.
This commit is contained in:
parent
856b59fc40
commit
426a316bbd
@ -238,7 +238,6 @@ public class BaseMainActivity extends LoggableActivity implements OnTouchListene
|
||||
pointerSurface.releaseCapture(); // minecraftGLView.releasePointerCapture();
|
||||
isCapturing = false;
|
||||
} else if (CallbackBridge.isGrabbing() && !isCapturing) {
|
||||
minecraftGLView.requestFocus();
|
||||
pointerSurface.requestCapture(); // minecraftGLView.requestPointerCapture();
|
||||
isCapturing = true;
|
||||
}
|
||||
@ -315,8 +314,8 @@ public class BaseMainActivity extends LoggableActivity implements OnTouchListene
|
||||
|
||||
// System.loadLibrary("Regal");
|
||||
|
||||
minecraftGLView.setFocusable(true);
|
||||
minecraftGLView.setFocusableInTouchMode(true);
|
||||
minecraftGLView.setFocusable(false);
|
||||
minecraftGLView.setFocusableInTouchMode(false);
|
||||
// minecraftGLView.setEGLContextClientVersion(2);
|
||||
|
||||
glTouchListener = new OnTouchListener(){
|
||||
@ -1108,6 +1107,8 @@ public class BaseMainActivity extends LoggableActivity implements OnTouchListene
|
||||
button.setWidth((int) Tools.dpToPx(this, Tools.pxToDp(this, button.getWidth()) * LauncherPreferences.PREF_BUTTONSIZE));
|
||||
button.setHeight((int) Tools.dpToPx(this, Tools.pxToDp(this, button.getHeight()) * LauncherPreferences.PREF_BUTTONSIZE));
|
||||
button.setOnTouchListener(this);
|
||||
button.setFocusable(false);
|
||||
button.setFocusableInTouchMode(false);
|
||||
return button;
|
||||
}
|
||||
|
||||
@ -1130,7 +1131,6 @@ public class BaseMainActivity extends LoggableActivity implements OnTouchListene
|
||||
|
||||
public void showKeyboard() {
|
||||
((InputMethodManager) getSystemService(INPUT_METHOD_SERVICE)).toggleSoftInput(InputMethodManager.SHOW_FORCED, InputMethodManager.HIDE_IMPLICIT_ONLY);
|
||||
minecraftGLView.requestFocus();
|
||||
}
|
||||
|
||||
private void setRightOverride(boolean val) {
|
||||
|
@ -4,5 +4,6 @@ THISDIR = `dirname $0`
|
||||
LANGFILE = $THISDIR/../app/src/main/assets/language_list.txt
|
||||
|
||||
rm $LANGFILE
|
||||
ls $THISDIR/../app/src/main/res/values-* >> $LANGFILE
|
||||
cd $THISDIR/../app/src/main/res
|
||||
ls | grep values-* >> $LANGFILE
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user