mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-16 08:05:34 -04:00
Fix transparent screen issue for dex and freeform
This commit is contained in:
parent
c5765c3981
commit
50d822cca9
@ -12,6 +12,9 @@ public class MinecraftGLView extends TextureView
|
|||||||
|
|
||||||
public MinecraftGLView(Context context, AttributeSet attributeSet) {
|
public MinecraftGLView(Context context, AttributeSet attributeSet) {
|
||||||
super(context, attributeSet);
|
super(context, attributeSet);
|
||||||
|
//Fixes freeform and dex mode having transparent glass,
|
||||||
|
//since it forces android to used the background color of the view/layout behind it.
|
||||||
|
setOpaque(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user