fix this finally

This commit is contained in:
RandomityGuy 2023-06-01 01:35:50 +05:30
parent a8103f8a36
commit 7e5a9c0623
3 changed files with 3 additions and 5 deletions

View file

@ -26,6 +26,7 @@
android:orientation="horizontal"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
android:exported="true"
android:screenOrientation="sensorLandscape"
>
<intent-filter>
<action android:name="android.intent.action.MAIN" />

View file

@ -456,9 +456,6 @@ class MarbleWorld extends Scheduler {
this.replay.clear();
} else {
this.replay.rewind();
if (Util.isTouchDevice()) {
MarbleGame.instance.touchInput.hideControls(@:privateAccess this.playGui.playGuiCtrl);
}
}
this.rewindManager.clear();

View file

@ -621,7 +621,7 @@ class MarbleSelectGui extends GuiImage {
dtsObj.init(null, () -> {}); // The lambda is not gonna run async anyway
for (mat in dtsObj.materials) {
mat.mainPass.enableLights = false;
mat.mainPass.culling = None;
mat.mainPass.culling = Front;
if (mat.blendMode != Alpha && mat.blendMode != Add)
mat.mainPass.addShader(new AlphaChannel());
}
@ -686,7 +686,7 @@ class MarbleSelectGui extends GuiImage {
dtsObj.init(null, () -> {}); // The lambda is not gonna run async anyway
for (mat in dtsObj.materials) {
mat.mainPass.enableLights = false;
mat.mainPass.culling = None;
mat.mainPass.culling = Front;
if (mat.blendMode != Alpha && mat.blendMode != Add)
mat.mainPass.addShader(new AlphaChannel());
}