mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2026-01-05 06:42:18 +00:00
fix this finally
This commit is contained in:
parent
a8103f8a36
commit
7e5a9c0623
3 changed files with 3 additions and 5 deletions
|
|
@ -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" />
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue